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
since.go Remove the time-since class (#29826) 2024-03-20 08:46:30 +01:00
since_test.go
timestamp.go
timestampnano.go