summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2020-11-18 20:14:26 +0100
committerSigrid <ftrvxmtrx@gmail.com>2020-11-18 20:14:26 +0100
commit808acd51f4e78d8883b81a3df6eb1fe1b61bd903 (patch)
tree6561966d6ef74eb11b9a84cab0502f163620efc4
parent23620bb1dbbf80f07a156d3f1fe1e74d5f4d61ba (diff)
downloadplan9front-808acd51f4e78d8883b81a3df6eb1fe1b61bd903.tar.xz
tmdate(2): failed to (p)arse
-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 eea689e3b..d5b442342 100644
--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -267,7 +267,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 to arse");
+ print("failed to parse");
t.day++;
tmnorm(&t);
print("%τ", &t); /* Mon Nov 3 13:11:11 PST 2019 */