0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-20 17:26:56 -05:00

Document PREFERRED_TIMESTAMP_TENSE setting (#918)

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/918
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: billynoah <billynoah@noreply.codeberg.org>
Co-committed-by: billynoah <billynoah@noreply.codeberg.org>
This commit is contained in:
billynoah 2024-11-10 20:56:58 +00:00 committed by Earl Warren
parent a7f8c36652
commit d673efa640

View file

@ -228,6 +228,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
- `AMBIGUOUS_UNICODE_DETECTION`: **true**: Detect ambiguous unicode characters in files and show warnings for it.
- `SKIP_ESCAPE_CONTEXTS`: **\<empty\>**: \[diff, file-view, wiki\]: Comma separated list of which escape context the ambiguous unicode detection shouldn't be run in. `wiki` is for content on the wiki pages, `file-view` is for (rendered) file content and `diff` is for the diff of an commit and pull request.
- `PREFERRED_TIMESTAMP_TENSE`: **mixed**: The tense all timestamps should be rendered in. Possible values are `absolute` time (i.e. 1970-01-01, 11:59) and `mixed`. `mixed` means most timestamps are rendered in relative time (i.e. 2 days ago).
### UI - Admin (`ui.admin`)