gitforge/tests
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
..
e2e fix: honor format="duration" on <relative-time> (#12415) 2026-07-10 18:43:12 +02:00
forgery fix: don't cache write permission on first pushed git reference (#13370) 2026-07-09 06:07:05 +02:00
fuzz
gitea-lfs-meta
gitea-repositories-meta cleanup(tests): remove unused git hooks directories in testdata (#12824) 2026-05-31 20:24:25 +02:00
integration chore: test skip-to behavior for regression testing (#13387) 2026-07-10 01:41:37 +02:00
testdata/data
install.ini.tmpl
mysql.ini.tmpl fix(coverage): Integration tests don't run with coverage (#12978) 2026-06-13 23:25:38 +02:00
pgsql.ini.tmpl fix(coverage): Integration tests don't run with coverage (#12978) 2026-06-13 23:25:38 +02:00
sqlite.ini.tmpl fix(coverage): Integration tests don't run with coverage (#12978) 2026-06-13 23:25:38 +02:00
test_utils.go fix(coverage): Integration tests don't run with coverage (#12978) 2026-06-13 23:25:38 +02:00
unittest.ini.tmpl chore: update unittest template (#13009) 2026-06-11 04:23:29 +02:00