diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-11-03 17:06:55 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-11-03 17:06:55 -0700 |
| commit | af0e8409bd0eb3bbd97ce8d2a249344ac4d2894d (patch) | |
| tree | 021c96d5bfd5c730f19cfa0e067e2df623d9c843 /cmd | |
| parent | 0620da73b8612f183eaf16cdf71d790225d8f3ec (diff) | |
Add comment clarifying usage of NewsDateFormat config option
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mobius-hotline-server/mobius/config/config.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
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 |