forked from gitea/gitea
1
0
Fork 0
gitea/modules/timeutil
silverwind 857243bed7
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">
2024-03-12 22:37:02 +00:00
..
datetime.go Fix date rendering by adding `<gitea-absolute-date>` (#29725) 2024-03-12 22:37:02 +00:00
datetime_test.go Fix date rendering by adding `<gitea-absolute-date>` (#29725) 2024-03-12 22:37:02 +00: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-14 21:48:45 +00: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