1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00
gitea/modules/timeutil
wxiaoguang 259811617b
Replace DateTime with proper functions (#32402)
Follow #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.
2024-11-02 21:04:53 +00:00
..
datetime.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
executable.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
since_test.go Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
since.go Remove the time-since class (#29826) 2024-03-15 21:57:53 +00:00
timestamp.go Refactor "dump" sub-command (#30240) 2024-04-03 02:16:46 +00:00
timestampnano.go Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00