sophuwu.site > mailboxxer
poopy
sophuwu sophie@skisiel.com
Tue, 06 Aug 2024 16:58:55 +0200
commit

d61cdffc4cba605ec59c10af0092e7f1a0a99715

parent

5bf2eddc2b99f728417d692c7b84c145c99f4383

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M cli.gocli.go

@@ -46,10 +46,10 @@ return fmt.Sprintf("%d h ago", int(d.Hours()))

} return fmt.Sprintf("%d m ago", int(d.Minutes())) }(), "th", (func() string { - if t.Day()%9 < 1 || t.Day()%9 > 3 { + if t.Day()%10 < 1 || t.Day()%10 > 3 { return "th" } - return []string{"st", "nd", "rd"}[t.Day()%9-1] + return []string{"st", "nd", "rd"}[t.Day()%10-1] })()) }