summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2024-01-25 18:31:57 +0100
committerLibravatar GitHub <noreply@github.com>2024-01-25 18:31:57 +0100
commitc946d02c1f6c10e3eafecd5587b3b14658e75d94 (patch)
tree3fd56cee2b7454808c27e3e1d66c1d9bcf481329
parent[docs] Update Feditext URL (#2568) (diff)
downloadgotosocial-c946d02c1f6c10e3eafecd5587b3b14658e75d94.tar.xz
[docs] Fix log-timestamp-format (#2572)
Supersedes: #2556 Closes: #2455
-rw-r--r--docs/configuration/general.md2
-rw-r--r--example/config.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md
index 8ae2ec4f7..93672ea43 100644
--- a/docs/configuration/general.md
+++ b/docs/configuration/general.md
@@ -35,7 +35,7 @@ log-client-ip: true
# The format must be compatible with Go's time.Layout, as
# documented on https://pkg.go.dev/time#pkg-constants.
#
-# Examples: [true, false]
+# Examples: ["2006-01-02T15:04:05.000Z07:00", ""]
# Default: "02/01/2006 15:04:05.000"
log-timestamp-format: "02/01/2006 15:04:05.000"
diff --git a/example/config.yaml b/example/config.yaml
index e3f4d1694..bbdd8adbf 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -43,7 +43,7 @@ log-client-ip: true
# The format must be compatible with Go's time.Layout, as
# documented on https://pkg.go.dev/time#pkg-constants.
#
-# Examples: [true, false]
+# Examples: ["2006-01-02T15:04:05.000Z07:00", ""]
# Default: "02/01/2006 15:04:05.000"
log-timestamp-format: "02/01/2006 15:04:05.000"