forked from gitea/gitea
1
0
Fork 0
gitea/templates
Yarden Shoham acdb92ad42
Localize all timestamps (#21440)
Following
* #21410 

We are now able to localize all timestamps. Some examples:

`short-date` format, French, user profile page:

![image](https://user-images.githubusercontent.com/20454870/195622461-aa0d5b93-f8df-42ad-881c-9c16606bf387.png)

`date-time` format, Portuguese, mirror repository settings page:

![image](https://user-images.githubusercontent.com/20454870/195623191-7a37d77c-4a02-4140-846d-f290a65ea21d.png)

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-17 12:08:21 +08:00
..
admin Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Remove useless `appVer` from JS `window.config` (#21445) 2022-10-14 01:16:27 +08:00
code Run `make fmt` (#21437) 2022-10-13 21:33:54 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
mail Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
org Add user/organization code search (#19977) 2022-10-11 00:12:03 +01:00
package Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
repo Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
shared Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
user Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
home.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
install.tmpl Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00