tmdate(2): one more typo

no more top arse. only bottom arse.
This commit is contained in:
Ori Bernstein 2020-09-07 19:32:50 -07:00
parent ce5b6036f0
commit 703b0d3e6d

View file

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