Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 20:56:11 +01:00
forgejo/modules/timeutil
silverwind f98211f13a
Fix date rendering by adding <gitea-absolute-date> (#29725)
Alternative to: https://github.com/go-gitea/gitea/pull/29698
Fixes: https://github.com/go-gitea/gitea/issues/29034

<img width="278" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/12ecd967-2723-410d-8a28-a1b0f41b7bba">

It also fixes a secondary issue that we were showing timestamp tooltips
over date, which makes no sense, so these are now gone as well:

<img width="284" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/a70432f3-97b6-41e6-b202-b53b76924a66">

(cherry picked from commit 857243bed7f9dccdc597c2941df41e821781cb0f)
2024-03-20 08:46:28 +01:00
..
datetime.go Fix date rendering by adding <gitea-absolute-date> (#29725) 2024-03-20 08:46:28 +01:00
datetime_test.go Fix date rendering by adding <gitea-absolute-date> (#29725) 2024-03-20 08:46:28 +01:00
executable.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
since.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
since_test.go Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
timestamp.go Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
timestampnano.go Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00