Skip to content

Render dashboard date time fields in the configured display timezone - #439

Merged
jbrooksuk merged 2 commits into
cachethq:mainfrom
ashwinuae:dashboard-timezone-display
Aug 21, 2026
Merged

Render dashboard date time fields in the configured display timezone#439
jbrooksuk merged 2 commits into
cachethq:mainfrom
ashwinuae:dashboard-timezone-display

Conversation

@ashwinuae

Copy link
Copy Markdown
Contributor

The timezone configured via the Timezone setting under Manage Localization only affected the public status page; the dashboard kept rendering and accepting date time fields in the application timezone, so the same instant appeared inconsistently and was confusing.

When the panel boots, it now reads the timezone setting and applies it as Filament's global timezone. This happens through a closure, so the setting isn't read until the database is actually available. Filament then handles the conversion in both directions: tables and infolists display dates in that timezone, and DateTimePicker values are converted back to the app timezone before saving, so nothing changes about how dates are stored.

Note that since the "-" (browser default) sentinel cannot be resolved server-side, the dashboard falls back to the application timezone in that case.

Closes #262

ashwinuae and others added 2 commits August 21, 2026 09:20
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jbrooksuk
jbrooksuk merged commit e4ccce6 into cachethq:main Aug 21, 2026
23 checks passed
@ashwinuae
ashwinuae deleted the dashboard-timezone-display branch August 21, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard time zone

2 participants