tmdate(2): one more typo

no more top arse. only bottom arse.
front
Ori Bernstein 2020-09-07 19:32:50 -07:00
parent ce5b6036f0
commit 703b0d3e6d
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ Add a day. Because cross daylight savings, only 23 hours are added.
Tm t;
char *date = "Sun Nov 2 13:11:11 PST 2019";
if(tmparse(&t, "W MMM D hh:mm:ss z YYYY, date, nil) == nil)
print("failed top arse");
print("failed to arse");
t.day++;
tmnorm(&t);
print("%τ", &t); /* Mon Nov 3 13:11:11 PST 2019 */