0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-24 11:58:17 +01:00
gitea/modules/templates
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
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper_test.go
helper.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
htmlrenderer_test.go
htmlrenderer.go
mailer.go
static.go
templates_bindata.go
util_avatar.go
util_date_test.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
util_date.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
util_dict.go
util_json.go
util_misc.go
util_render_test.go
util_render.go
util_slice.go
util_string.go
util_test.go