mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-12-23 22:58:17 -05:00
Show timezone information on visits list (#865)
* Initial plan * Initial investigation: Show timezone on visits list - planning implementation Co-authored-by: seanmorley15 <98704938+seanmorley15@users.noreply.github.com> * Show timezone on visits list - add timezone badge display Co-authored-by: seanmorley15 <98704938+seanmorley15@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: seanmorley15 <98704938+seanmorley15@users.noreply.github.com>
This commit is contained in:
5551
frontend/package-lock.json
generated
Normal file
5551
frontend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
autoprefixer: {}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
ja: '日本語',
|
||||
ar: 'العربية',
|
||||
'pt-br': 'Português (Brasil)',
|
||||
'sk': 'Slovenský'
|
||||
sk: 'Slovenský'
|
||||
};
|
||||
|
||||
const submitLocaleChange = (event: Event) => {
|
||||
|
||||
@@ -899,6 +899,9 @@
|
||||
{:else}
|
||||
<ClockIcon class="w-3 h-3 text-base-content/50" />
|
||||
{/if}
|
||||
{#if visit.timezone && !isAllDay(visit.start_date)}
|
||||
<span class="badge badge-outline badge-sm">{visit.timezone}</span>
|
||||
{/if}
|
||||
<div class="text-sm font-medium truncate">
|
||||
{#if isAllDay(visit.start_date)}
|
||||
{visit.start_date && typeof visit.start_date === 'string'
|
||||
|
||||
Reference in New Issue
Block a user