[GH-ISSUE #342] Feature request: Option for 24h time #7390

Closed
opened 2026-08-21 19:49:31 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @LeviSnoot on GitHub (Jul 15, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/342

Originally assigned to: @arunavo4 on GitHub.

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.

Originally created by @LeviSnoot on GitHub (Jul 15, 2026). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/342 Originally assigned to: @arunavo4 on GitHub. 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.
Author
Owner

@arunavo4 commented on GitHub (Jul 16, 2026):

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.

<!-- gh-comment-id:4993721752 --> @arunavo4 commented on GitHub (Jul 16, 2026): 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.
Author
Owner

@arunavo4 commented on GitHub (Jul 16, 2026):

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

<!-- gh-comment-id:4994246170 --> @arunavo4 commented on GitHub (Jul 16, 2026): 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
Author
Owner

@LeviSnoot commented on GitHub (Jul 17, 2026):

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!

<!-- gh-comment-id:5002942315 --> @LeviSnoot commented on GitHub (Jul 17, 2026): > 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!
Author
Owner

@arunavo4 commented on GitHub (Jul 17, 2026):

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

<!-- gh-comment-id:5004904292 --> @arunavo4 commented on GitHub (Jul 17, 2026): Yea I think its a good option to have. Thanks for the idea
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#7390