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.
gitea/docs
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>
1 year ago
..
content Add global setting how timestamps should be rendered (#28657) 1 year ago
scripts Run hugo via `go run` and lock its version (#22206) 2 years ago
static Support `.git-blame-ignore-revs` file (#26395) 1 year ago
.gitignore Support Issue forms and PR forms (#20987) 2 years ago
LICENSE Import docs into main repository (#2874) 7 years ago
README.md Docusaurus-ify (#26051) 2 years ago
README_ZH.md Docusaurus-ify (#26051) 2 years ago

README.md

Gitea: Docs

Join the chat at https://img.shields.io/discord/322538954119184384.svg

These docs are ingested by our docs repo.

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>