forgejo/modules/templates
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
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
helper_test.go
htmlrenderer.go
htmlrenderer_test.go
mailer.go
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
static.go
templates_bindata.go
util_avatar.go
util_date.go [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
util_date_test.go [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
util_dict.go
util_json.go
util_misc.go
util_render.go feat: combine review requests comments 2024-10-25 22:57:32 +02:00
util_render_test.go feat(ui): add more emoji and code block rendering in issues 2024-09-24 14:20:33 +02:00
util_slice.go
util_string.go
util_string_test.go
util_test.go