summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/2/tmdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/man/2/tmdate b/sys/man/2/tmdate
index 3738b66d1..afb30a0cb 100644
--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -265,7 +265,7 @@ if(tmparse(&t, "W MMM D hh:mm:ss z YYYY, date, nil) == nil)
print("failed to parse");
t.day++;
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
.SH BUGS