Skip to content

Conversation

@ShadowJonathan
Copy link

Currently, for us, logs show times like "03:12:02 PM", while we're in Europe.

This seems to be a limitation of dayjs, where it doesn't "localize" at all, it just tacks on AM/PM when it uses LTS as a format;

So this uses the browser locale to define the time format.

@ShadowJonathan ShadowJonathan force-pushed the better-time-localization branch from 97c23c5 to a02c05e Compare January 12, 2026 10:55
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.

1 participant