0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/docs/content
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
..
administration Add global setting how timestamps should be rendered (#28657) 2024-01-02 09:25:30 +08:00
contributing rm outdated docs from some languages (#27530) 2023-10-13 19:29:18 +00:00
development Fix links in docs (#28302) 2023-12-01 19:42:42 +08:00
help Improve CLI code and descriptions (#28482) 2023-12-15 15:49:01 +00:00
installation Improve 1.22 document for Database Preparation (#28643) 2023-12-29 05:42:22 +00:00
usage switch destination directory for apt signing keys (#28639) 2023-12-28 22:08:59 +01:00
actions.en-us.md
administration.en-us.md
administration.zh-cn.md
contributing.en-us.md
development.en-us.md
development.zh-cn.md
help.en-us.md
help.zh-cn.md
index.en-us.md
index.zh-cn.md
installation.en-us.md
installation.zh-cn.md
packages.en-us.md
search.en-us.md
search.nl-nl.md
search.pt-br.md
search.zh-cn.md
usage.en-us.md
usage.zh-cn.md