go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.99k stars 5.4k forks source link

Times are always displayed with AM/PM #31677

Open vorlif opened 1 month ago

vorlif commented 1 month ago

Description

I'm honestly not sure if this has always been the case or if I just noticed it now, but I think it's new with version v1.22.

I use Gitea in German, and the date is also internationalized there. However, the times are always given in 2 x 12-hour format (AM/PM) and not in 24-hour format as is usual in Germany.

The 24-hour format is used in many regions of the world, and I would like to see the Gitea display it.

Screenshots

image

Gitea Version

v1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Arch Linux

Browser Version

Firefox 128.0 / Chrome 126

Remmert-PBE commented 1 month ago

Can reproduce it on the demo site. Firefox 128.0 on Windows 11 23H2

silverwind commented 1 month ago

Depends on https://github.com/github/relative-time-element/issues/276.