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
since_test.go
timestamp.go
timestampnano.go