Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo "date-tody-format" #267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion config/default_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/man/tut.5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/man/tut.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down