Feature request: Option for 24h time #141

Closed
opened 2026-10-05 01:44:19 +02:00 by adam · 4 comments
Owner

My apologies if this has already been raised, I looked through the repo and issues as best I could but couldn't find anything relating to this.

The web UI is using 12-hour time, and while I can read it just fine, it's not my preference, and I couldn't find a way to configure this. Figured it would make sense to include the option somewhere.

My apologies if this has already been raised, I looked through the repo and issues as best I could but couldn't find anything relating to this. The web UI is using 12-hour time, and while I can read it just fine, it's not my preference, and I couldn't find a way to configure this. Figured it would make sense to include the option somewhere. <!-- github-sync-id:4892063645 -->
adam closed this issue 2026-10-05 01:44:19 +02:00
Author
Owner

Turns out it wasn't even following your locale — timestamps were hardcoded to en-US, so everyone got 12-hour. Fixed in #346: times now follow your browser locale by default, plus a clock toggle in the header if you want to force 12h or 24h.

time format toggle

Will be in the next release — let me know how it looks.

Turns out it wasn't even following your locale — timestamps were hardcoded to en-US, so everyone got 12-hour. Fixed in #346: times now follow your browser locale by default, plus a clock toggle in the header if you want to force 12h or 24h. ![time format toggle](https://raw.githubusercontent.com/RayLabsHQ/gitea-mirror/main/docs/images/time-format-toggle.png) Will be in the next release — let me know how it looks. <!-- github-comment-id:4993721752 -->
Author
Owner

v3.21.0 is out — times follow your locale now, plus the clock toggle in the header. Curious how it looks on your end. https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.21.0

v3.21.0 is out — times follow your locale now, plus the clock toggle in the header. Curious how it looks on your end. https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.21.0 <!-- github-comment-id:4994246170 -->
Author
Owner

v3.21.0 is out. Curious how it looks on your end.

Looks good from here!
Image

Ironically my browser locale appears to be set to en-US, so I was confused at first when it didn't automatically switch to 24h, but now that I know why I just set it manually to 24. I probably have the locale overridden for a specific reason that I've since forgotten so I'm not gonna try to change it back for now, but having the option to set it is all I wanted so this is fantastic! Thanks for the quick response and fix!

> v3.21.0 is out. Curious how it looks on your end. Looks good from here! <img width="1217" height="566" alt="Image" src="https://github.com/user-attachments/assets/03caf666-b160-49b1-977e-fcdd83385e05" /> Ironically my browser locale appears to be set to `en-US`, so I was confused at first when it didn't automatically switch to 24h, but now that I know why I just set it manually to 24. I probably have the locale overridden for a specific reason that I've since forgotten so I'm not gonna try to change it back for now, but having the option to set it is all I wanted so this is fantastic! Thanks for the quick response and fix! <!-- github-comment-id:5002942315 -->
Author
Owner

Yea I think its a good option to have. Thanks for the idea

Yea I think its a good option to have. Thanks for the idea <!-- github-comment-id:5004904292 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#141