tmdate(2): correct example in manpage
add missing tmdate() call around %τ format.
This commit is contained in:
parent
0f3ef52fd7
commit
e2e973a34b
|
@ -265,7 +265,7 @@ if(tmparse(&t, "W MMM D hh:mm:ss z YYYY, date, nil) == nil)
|
||||||
print("failed to parse");
|
print("failed to parse");
|
||||||
t.day++;
|
t.day++;
|
||||||
tmnorm(&t);
|
tmnorm(&t);
|
||||||
print("%τ", &t); /* Mon Nov 3 13:11:11 PST 2019 */
|
print("%τ", tmfmt(&t, nil)); /* Mon Nov 3 13:11:11 PST 2019 */
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
|
Loading…
Reference in a new issue