gitea/templates
wxiaoguang 259811617b
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
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
..
admin Replace DateTime with DateUtils (#32383) 2024-11-02 04:08:28 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Fix dropdown content overflow (#31610) 2024-10-13 02:43:43 +00:00
explore Replace DateTime with DateUtils (#32383) 2024-11-02 04:08:28 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Fix the missing menu in organization project view page (#32313) 2024-10-30 19:05:40 +00:00
package Replace DateTime with DateUtils (#32383) 2024-11-02 04:08:28 +00:00
projects Add option to filter board cards by labels and assignees (#31999) 2024-09-12 03:53:40 +00:00
repo Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
shared Replace DateTime with DateUtils (#32383) 2024-11-02 04:08:28 +00:00
status Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
swagger Make admins adhere to branch protection rules (#32248) 2024-10-23 12:39:43 +08:00
user Replace DateTime with proper functions (#32402) 2024-11-02 21:04:53 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
install.tmpl Use forum.gitea.com instead of old URL (#31989) 2024-09-06 07:20:30 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00