You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/timeutil
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>
1 year ago
..
executable.go Implement FSFE REUSE for golang files (#21840) 2 years ago
language.go Implement FSFE REUSE for golang files (#21840) 2 years ago
since.go Remove untranslatable `on_date` key (#24106) 1 year ago
since_test.go Use auto-updating, natively hoverable, localized time elements (#23988) 1 year ago
timestamp.go Use auto-updating, natively hoverable, localized time elements (#23988) 1 year ago