diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-08-26 10:23:00 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-08-26 10:23:00 -0700 |
commit | 17abfa51ca4a34d6320d8d605ad4002990fd2f10 (patch) | |
tree | 0ce9a9a7f73678007f6f9a60c718f8f57f96afe7 /sys/man | |
parent | 8727bfd9bdc57ffecc1c3fd06031e75abd987579 (diff) |
libc: tmparse should ignore leading whitespace
We almost always want to skip leading whitespace in time
formats, so make tmparse just do it. This fixes upas mbox
parsing, which leaves a leading whitespace at the start of
the date.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/2/tmdate | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/man/2/tmdate b/sys/man/2/tmdate index 96e410c14..98c70eb8b 100644 --- a/sys/man/2/tmdate +++ b/sys/man/2/tmdate @@ -65,6 +65,7 @@ Tmstime is identical to tmtime, but accepts the time in sec- onds. .PP Tmparse parses a time from a string according to the format argument. +Leading whitespace is ignored. The point at which the parsing stopped is returned in .IR ep . If |