From e2e973a34bde34489b49700b364e683b40e3f6c4 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sat, 16 Jan 2021 14:24:32 -0800 Subject: [PATCH] tmdate(2): correct example in manpage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add missing tmdate() call around %τ format. --- sys/man/2/tmdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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