Skip to content

Conversation

@Piccirello
Copy link
Member

@Piccirello Piccirello commented Aug 16, 2025

This change allows users to select from a variety of global date formats to use within the WebUI. The date formatting logic contains comprehensive tests.

This feature is built off of the ClientData API (#23088) because local storage doesn't feel like the right place for this. Only the last two commits are relevant.

Closes #10122.

Screenshot 2025-08-15 at 19 06 35

@Piccirello Piccirello added this to the 5.2 milestone Aug 16, 2025
@Piccirello Piccirello added the WebUI WebUI-related issues/changes label Aug 16, 2025
@Piccirello Piccirello force-pushed the tom/webui-date-format branch from 2036f3c to 2b6f858 Compare August 16, 2025 02:27
@Piccirello Piccirello force-pushed the tom/webui-date-format branch 6 times, most recently from cada78b to 750803a Compare September 2, 2025 01:39
@Piccirello Piccirello force-pushed the tom/webui-date-format branch from 750803a to e894eba Compare September 12, 2025 17:52
@jochman
Copy link

jochman commented Oct 29, 2025

Thanks! it's bothering me.

@Piccirello Piccirello force-pushed the tom/webui-date-format branch from e894eba to fe28b9f Compare November 1, 2025 21:53
Comment on lines +71 to +72
"yyyy-MM-dd HH:mm:ss": {
locale: "sv-SE",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact this is also the recommended format for Canada. But some people/projects still haven't updated the Canadian locale en-CA.

@tessus
Copy link

tessus commented Nov 9, 2025

awesome, works great. any reason why this PR is marked as Draft?

@Piccirello
Copy link
Member Author

awesome, works great. any reason why this PR is marked as Draft?

This PR depends on #23191, which I'm trying to get merged. But things are not looking promising (cc @Chocobo1).

@tessus
Copy link

tessus commented Nov 9, 2025

Thanks for the info. Well, I hope you guys can sort it out. At least there is some sort of discussion. I got banned from a project because of the following comment (not linking to it on purpose) and I have no idea why and there is no recourse:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebUI WebUI-related issues/changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebUI date format/language

3 participants