gitforge/options
Burak Emir de6a74832b fix: honor format="duration" on <relative-time> (#12415)
The admin system status template wraps the server start time in
<relative-time format="duration"> intending to display elapsed time as
a bare duration ("two months"), but the custom element ignored the
format attribute and always rendered "two months ago". Implement the
duration mode using Intl.NumberFormat with style: "unit" so the same
calendar-aware diffing produces a localized, suffix-free string.

Resolves https://codeberg.org/forgejo/forgejo/issues/12078

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12415
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-07-10 18:43:12 +02:00
..
gitignore chore: Update Zig gitignore (#11422) 2026-06-20 15:45:22 +02:00
label
license chore: update licenses and gitignores [skip ci] (#11158) 2026-03-03 21:42:13 +01:00
locale fix(ui): in the admin config panel do not report a cache taking more than 100 microseconds as slow (#13256) 2026-06-30 12:06:06 +02:00
locale_next fix: honor format="duration" on <relative-time> (#12415) 2026-07-10 18:43:12 +02:00
readme
locale_readme.md