0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-05 19:44:43 +01:00
gitea/docs/content/administration
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
..
_index.en-us.md
_index.zh-cn.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md
backup-and-restore.zh-cn.md
cmd-embedded.en-us.md
cmd-embedded.zh-cn.md
command-line.en-us.md
command-line.zh-cn.md
config-cheat-sheet.en-us.md Add global setting how timestamps should be rendered (#28657) 2024-01-02 09:25:30 +08:00
config-cheat-sheet.zh-cn.md
customizing-gitea.en-us.md
customizing-gitea.zh-cn.md
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
environment-variables.zh-cn.md
external-renderers.en-us.md
external-renderers.zh-cn.md
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
mail-templates.en-us.md
mail-templates.zh-cn.md
repo-indexer.en-us.md
repo-indexer.zh-cn.md
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md