From d673efa640dacf02ba3814412a93a85538fdca20 Mon Sep 17 00:00:00 2001 From: billynoah Date: Sun, 10 Nov 2024 20:56:58 +0000 Subject: [PATCH] Document PREFERRED_TIMESTAMP_TENSE setting (#918) Reviewed-on: https://codeberg.org/forgejo/docs/pulls/918 Reviewed-by: Earl Warren Co-authored-by: billynoah Co-committed-by: billynoah --- docs/admin/config-cheat-sheet.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/admin/config-cheat-sheet.md b/docs/admin/config-cheat-sheet.md index 17efe1f6..face3b31 100644 --- a/docs/admin/config-cheat-sheet.md +++ b/docs/admin/config-cheat-sheet.md @@ -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`: **\**: \[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`)