Updates related to the time being in 24 vs 12 hour format.

This commit is contained in:
Scott Idem
2024-11-13 10:43:44 -05:00
parent 26e1c89f1b
commit 7040578ac5
11 changed files with 59 additions and 55 deletions

View File

@@ -210,40 +210,40 @@ onDestroy(() => {
</div>
<div class="meeting_recurring_time">
{#if $lq__event_obj?.recurring_start_time}
<span class="meeting_recurring_start_time">
<span class="ae_label">
<span class="fas fa-clock"></span> Start time:
<span class="meeting_recurring_start_time">
<span class="ae_label">
<span class="fas fa-clock"></span> Start time:
</span>
<span class="ae_value">{ae_util.iso_datetime_formatter(`2024-01-01 ${$lq__event_obj?.recurring_start_time}`, 'time_12_short')}</span>
</span>
<span class="ae_value">{ae_util.iso_datetime_formatter(`2024-01-01 ${$lq__event_obj?.recurring_start_time}`, 'time_short')}</span>
</span>
<span
class:ae_d_none={!$lq__event_obj?.recurring_end_time}
>
- <span class="meeting_recurring_end_time">
<span class="ae_label">End time:</span>
<span class="ae_value">{ae_util.iso_datetime_formatter(`2024-01-01 ${$lq__event_obj?.recurring_end_time}`, 'time_short')}
<span
class:ae_d_none={!$lq__event_obj?.recurring_end_time}
>
- <span class="meeting_recurring_end_time">
<span class="ae_label">End time:</span>
<span class="ae_value">{ae_util.iso_datetime_formatter(`2024-01-01 ${$lq__event_obj?.recurring_end_time}`, 'time_12_short')}
</span>
</span>
</span>
</span>
<span
class:ae_d_none={!$lq__event_obj?.timezone}
>
- <span class="meeting_timezone">
<span class="ae_label">Timezone:</span>
<span class="ae_value">{$lq__event_obj?.timezone}</span>
<span
class:ae_d_none={!$lq__event_obj?.timezone}
>
- <span class="meeting_timezone">
<span class="ae_label">Timezone:</span>
<span class="ae_value">{$lq__event_obj?.timezone}</span>
</span>
</span>
</span>
{#if $lq__event_obj?.timezone}
<span class="event__user_timezone">
(
<span class="ae_label">Your TZ:</span>
<span class="ae_value">
<!-- {dayjs.tz(`${$ae_loc.current_date_str} ${$lq__event_obj?.recurring_start_time}`, $lq__event_obj?.timezone).tz($ae_loc.current_timezone).format('hh:mm A')} {$ae_loc.current_timezone} -->
DAYJS DISABLED
</span>
)
</span>
{/if}
{#if $lq__event_obj?.timezone}
<span class="event__user_timezone">
(
<span class="ae_label">Your TZ:</span>
<span class="ae_value">
<!-- {dayjs.tz(`${$ae_loc.current_date_str} ${$lq__event_obj?.recurring_start_time}`, $lq__event_obj?.timezone).tz($ae_loc.current_timezone).format('hh:mm A')} {$ae_loc.current_timezone} -->
DAYJS DISABLED
</span>
)
</span>
{/if}
{:else}
<span class="meeting_recurring_no_time">No times set</span>
{/if}
@@ -333,13 +333,13 @@ onDestroy(() => {
<span
class="event__created_on"
>
Created on: {ae_util.iso_datetime_formatter($lq__event_obj?.created_on, 'datetime_short')}
Created on: {ae_util.iso_datetime_formatter($lq__event_obj?.created_on, 'datetime_12_short')}
</span>
<span
class="event__updated_on"
class:ae_d_none={!$lq__event_obj?.updated_on}
>
Updated on: {ae_util.iso_datetime_formatter($lq__event_obj?.updated_on, 'datetime_short')}
Updated on: {ae_util.iso_datetime_formatter($lq__event_obj?.updated_on, 'datetime_12_short')}
</span>
</section>

View File

@@ -167,7 +167,7 @@ onMount(() => {
{#if idaa_event_obj?.recurring_start_time}
<!-- <span class="ae_label">Time:</span> -->
<span class="ae_value">{ae_util.iso_datetime_formatter(`2023-01-01 ${idaa_event_obj?.recurring_start_time}`, 'time_short')}</span>
<span class="ae_value">{ae_util.iso_datetime_formatter(`2023-01-01 ${idaa_event_obj?.recurring_start_time}`, 'time_12_short')}</span>
{/if}
{#if idaa_event_obj?.timezone}
<!-- <span class="ae_label">Timezone:</span> -->
@@ -281,13 +281,13 @@ onMount(() => {
<span
class="event__created_on"
>
Created on: {ae_util.iso_datetime_formatter(idaa_event_obj?.created_on, 'datetime_short')}
Created on: {ae_util.iso_datetime_formatter(idaa_event_obj?.created_on, 'datetime_12_short')}
</span>
<span
class="event__updated_on"
class:ae_d_none={!idaa_event_obj?.updated_on}
>
Updated on: {ae_util.iso_datetime_formatter(idaa_event_obj?.updated_on, 'datetime_short')}
Updated on: {ae_util.iso_datetime_formatter(idaa_event_obj?.updated_on, 'datetime_12_short')}
</span>
</div>
</section>