0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 16:42:11 +01:00
gitea/routers
Yarden Shoham b4e952545b
Remove untranslatable on_date key (#24106)
- Follows #23988 
- Fixes: #24074 by removing this key

GitHub's `relative-time` elements allow us to force their rendering to
`auto`, `past`, or `future` tense. We will never show an absolute date
`on ...` in `TimeSince`

## Before

![image](https://user-images.githubusercontent.com/20454870/231735872-048c7bf3-6aa1-4113-929d-75a985c9922c.png)

## After

![image](https://user-images.githubusercontent.com/20454870/231736116-6ad47b63-77f4-4d3f-82a2-ee9a46ba2bd1.png)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-04-15 13:01:54 +02:00
..
api Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
common
install Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
private
utils
web Remove untranslatable on_date key (#24106) 2023-04-15 13:01:54 +02:00
init.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00