Yarden Shoham cdc33b29a0
Add global setting how timestamps should be rendered (#28657)
- Resolves https://github.com/go-gitea/gitea/issues/22493
- Related to https://github.com/go-gitea/gitea/issues/4520

Some admins prefer all timestamps to display the full date instead of
relative time. They can do that now by setting

```ini
[ui]
PREFERRED_TIMESTAMP_TENSE = absolute
```

This setting is set to `mixed` by default, allowing dates to render as
"5 hours ago". Here are some screenshots of the UI with this setting set
to `absolute`:

![image](https://github.com/go-gitea/gitea/assets/20454870/f496457f-6afa-44be-a1e7-249ee5fe0706)

![image](https://github.com/go-gitea/gitea/assets/20454870/c03b14f5-063d-4e13-9780-76ab002d76a9)

![image](https://github.com/go-gitea/gitea/assets/20454870/f4b34e28-1546-4374-9199-c43348844edd)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
2024-01-02 09:25:30 +08:00
..
2023-10-05 09:08:19 +08:00
2023-11-18 13:37:08 +02:00
2023-12-19 09:29:05 +00:00
2023-10-05 09:08:19 +08:00
2023-12-25 20:13:18 +08:00
2023-05-08 19:49:59 +08:00
2023-07-04 18:36:08 +00:00
2023-06-18 16:10:44 +00:00
2023-07-19 11:22:57 +02:00
2023-10-10 18:47:49 +08:00
2023-02-20 16:18:26 -06:00