0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-22 16:12:34 +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.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
helper_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
htmlrenderer.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
htmlrenderer_test.go
mailer.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
static.go
templates_bindata.go
util_avatar.go Lazy load avatar images (#32051) 2024-09-17 19:02:48 +00:00
util_date.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
util_date_test.go Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
util_dict.go
util_json.go
util_misc.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_render.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_render_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_slice.go
util_string.go
util_test.go