0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 00:03:11 -05:00
forgejo/templates/admin
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
..
applications
auth [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
emails
org [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
packages [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
repo [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
runners
user [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
actions.tmpl
config.tmpl
config_settings.tmpl
cron.tmpl [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
dashboard.tmpl
hook_new.tmpl
hooks.tmpl
layout_footer.tmpl
layout_head.tmpl
navbar.tmpl
notice.tmpl [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
queue.tmpl
queue_manage.tmpl
self_check.tmpl
stacktrace-row.tmpl
stacktrace.tmpl
stats.tmpl
system_status.tmpl