1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/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
..
admin [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-09 16:04:57 +02:00
explore [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
htmx Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00
mail Merge pull request '[SEC] Notify owner about TOTP enrollment' (#4704) from gusted/sec-more-totp into forgejo 2024-07-27 20:53:47 +00:00
org i18n: UX improvements: Team permissions and issue closing 2024-09-24 19:03:30 +02:00
package [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
projects fix: use column flex on mobile to prevent project title from wrapping 2024-10-12 18:21:14 +00:00
repo [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
shared [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
status #5324 Fix centered fork note 2024-10-06 00:14:30 +02:00
swagger feat: Add Search to Releases Page 2024-11-02 10:24:35 +01:00
user [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
webhook fix: improve discord webhook api conformance 2024-10-08 22:43:28 +02:00
home.tmpl fix(i18n): remove unnecessary variable (#5533) 2024-10-11 18:51:29 +00:00
install.tmpl A few cosmetic improvements to the installation page (#4170) 2024-06-18 09:49:56 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00