kn 4a044aaefe Fix CopyArrivalDate for timestamps with single digit day of the month
On timestamps such as " 4-Mar-2018 16:49:25 -0500", mbsync would abort if
the Channel option `CopyArrivalDate' was set.

The IMAP protocol specifies a date format beginning with a day-of-month
space-padded to two characters.  The "%d" specifier in glibc's strptime(3)
will consume a space-padded day of month, but OpenBSD's "%d" only accepts
leading zeroes.

Prodded by this issue, our strptime(3) now strips leading spaces with "%e"
as of lib/libc/time/strptime.c r1.25.

Found, analysed and patch (using "%n%d" instead of "%e") from
Evan Silberman <evan at jklol dot net>, thanks!
2019-02-21 19:22:27 +00:00
..
2018-09-04 12:46:09 +00:00
2019-01-11 01:51:34 +00:00
2018-10-16 20:28:09 +00:00
2017-02-27 18:25:50 +00:00
2019-01-01 18:01:20 +00:00
2018-02-25 22:20:56 +00:00
2019-02-13 12:16:36 +00:00
2018-09-04 12:46:09 +00:00
2019-02-19 13:29:07 +00:00
2018-11-01 04:22:15 +00:00
2018-04-14 10:14:04 +00:00
2018-11-27 09:00:30 +00:00
2018-09-18 08:18:01 +00:00
2018-06-22 00:03:31 +00:00
2017-05-10 12:47:56 +00:00
2019-01-26 10:25:09 +00:00
2017-11-19 00:53:16 +00:00
2016-06-08 20:12:30 +00:00
2018-09-04 12:46:09 +00:00
2018-07-12 10:16:06 +00:00
2019-01-06 17:18:08 +00:00
2018-09-04 12:46:09 +00:00
2019-02-12 14:27:35 +00:00
2018-10-28 12:14:02 +00:00
2017-05-25 17:47:08 +00:00
2018-09-04 12:46:09 +00:00
2019-02-18 19:43:45 +00:00
2019-02-01 23:55:59 +00:00
2017-07-05 10:22:05 +00:00
2019-01-01 20:43:21 +00:00
2018-11-29 17:03:34 +00:00
2018-11-24 11:27:49 +00:00
2016-10-11 15:59:52 +00:00
2018-03-21 07:36:15 +00:00
2019-01-25 10:22:26 +00:00
2017-04-11 12:53:49 +00:00
2019-01-24 16:53:37 +00:00
2019-01-24 17:10:55 +00:00
2018-12-04 15:16:48 +00:00
2016-11-02 17:04:24 +00:00
2019-02-02 01:59:32 +00:00
2019-02-18 10:50:57 +00:00
2016-08-03 13:06:41 +00:00
2018-11-16 20:46:23 +00:00
2018-09-04 12:46:09 +00:00
2016-08-03 13:06:41 +00:00
2016-04-12 15:19:39 +00:00
2018-06-29 22:16:08 +00:00
2018-05-20 08:19:25 +00:00
2018-05-20 08:19:25 +00:00
2018-05-20 08:19:25 +00:00
2017-10-23 17:10:49 +00:00
2019-02-13 20:01:21 +00:00