From: Jeff Halter Date: Fri, 4 Nov 2022 00:06:55 +0000 (-0700) Subject: Add comment clarifying usage of NewsDateFormat config option X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/af0e8409bd0eb3bbd97ce8d2a249344ac4d2894d?hp=0620da73b8612f183eaf16cdf71d790225d8f3ec Add comment clarifying usage of NewsDateFormat config option --- diff --git a/cmd/mobius-hotline-server/mobius/config/config.yaml b/cmd/mobius-hotline-server/mobius/config/config.yaml index 87e500d..b089b88 100644 --- a/cmd/mobius-hotline-server/mobius/config/config.yaml +++ b/cmd/mobius-hotline-server/mobius/config/config.yaml @@ -29,6 +29,14 @@ Trackers: PreserveResourceForks: false # Optional custom date format for flat news postings +# The value must be a string using Golang's "example-based" formatting, which uses a special reference time of +# Mon Jan 2 15:04:05 MST 2006 to determine the output format. +# +# Examples: +# "Jan 02 15:04 2006" +# "01/02/2006 15:04" +# +# More details: herehttps://yourbasic.org/golang/format-parse-string-time-date-example/ NewsDateFormat: "" # Optional custom delimiter between flat news postings