Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 05:06:11 +01:00
forgejo/modules/timeutil
wxiaoguang fddde93759
[PORT] Replace DateTime with proper functions (gitea#32402)
Follow https://github.com/go-gitea/gitea/pull/32383

This PR cleans up the "Deadline" usages in templates, make them call
`ParseLegacy` first to get a `Time` struct then display by `DateUtils`.

Now it should be pretty clear how "deadline string" works, it makes it
possible to do further refactoring and correcting.

(cherry picked from commit 259811617ba15c77ddd89360178a59251d611af2)
2024-11-03 17:03:14 +01:00
..
datetime.go [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
executable.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
since.go Remove the time-since class (#29826) 2024-03-20 08:46:30 +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