Browse Source

Merge 97dc27f653 into 33d7cd8cbf

pull/267/merge
Mimuki 3 years ago committed by GitHub
parent
commit
0ca04c2d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config.example.toml
  2. 2
      config/default_config.go
  3. 4
      docs/man/tut.5
  4. 4
      docs/man/tut.5.md

2
config.example.toml

@ -22,7 +22,7 @@ date-format="2006-01-02 15:04"
# Format for dates the same day. See date-format for more info.
# default="15:04"
date-tody-format="15:04"
date-today-format="15:04"
# This displays relative dates instead for statuses that are one day or older
# the output is 1y2m1d (1 year 2 months and 1 day)

2
config/default_config.go

@ -24,7 +24,7 @@ date-format="2006-01-02 15:04"
# Format for dates the same day. See date-format for more info.
# default="15:04"
date-tody-format="15:04"
date-today-format="15:04"
# This displays relative dates instead for statuses that are one day or older
# the output is 1y2m1d (1 year 2 months and 1 day)

4
docs/man/tut.5

@ -73,14 +73,14 @@ See https://pkg.go.dev/time#pkg-constants
.P
.PD
\f[B]date-format\f[R]=\f[I]\[lq]2006-01-02 15:04\[rq]\f[R]
.SS date-tody-format
.SS date-today-format
.PP
Format for dates the same day.
See date-format for more info.
.PD 0
.P
.PD
\f[B]date-tody-format\f[R]=\f[I]\[lq]15:04\[rq]\f[R]
\f[B]date-today-format\f[R]=\f[I]\[lq]15:04\[rq]\f[R]
.SS date-relative
.PP
This displays relative dates instead for statuses that are one day or

4
docs/man/tut.5.md

@ -37,9 +37,9 @@ Enable mouse support in tut.
The date format to be used. See https://pkg.go.dev/time\#pkg-constants
**date-format**=*"2006-01-02 15:04"*
## date-tody-format
## date-today-format
Format for dates the same day. See date-format for more info.
**date-tody-format**=*"15:04"*
**date-today-format**=*"15:04"*
## date-relative
This displays relative dates instead for statuses that are one day or older the output is 1y2m1d (1 year 2 months and 1 day)

Loading…
Cancel
Save