From 97dc27f6531c73f82257af8cf72f6d510cdc550f Mon Sep 17 00:00:00 2001 From: mimuki <60542090+mimuki@users.noreply.github.com> Date: Thu, 1 Jun 2023 07:50:48 +0930 Subject: [PATCH] Fix typo --- config.example.toml | 2 +- config/default_config.go | 2 +- docs/man/tut.5 | 4 ++-- docs/man/tut.5.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.example.toml b/config.example.toml index fe9e2f4..2d98fbe 100644 --- a/config.example.toml +++ b/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) diff --git a/config/default_config.go b/config/default_config.go index 42cc89d..8e48679 100644 --- a/config/default_config.go +++ b/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) diff --git a/docs/man/tut.5 b/docs/man/tut.5 index 45af34a..e092468 100644 --- a/docs/man/tut.5 +++ b/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 diff --git a/docs/man/tut.5.md b/docs/man/tut.5.md index 60c19eb..41b1401 100644 --- a/docs/man/tut.5.md +++ b/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)