bug#35632: date Parse of '13:00 + 2 hours' Broken.

2019-06-26 Thread Assaf Gordon
tag 35632 notabug close 35632 stop Hello, (sorry for the delayed reply) On Wed, May 08, 2019 at 12:57:10PM +0100, Ralph Corderoy wrote: > > Using date from coreutils 8.31-1 on Arch Linux. > This surprised me. > > $ TZ=UTC0 /bin/date -d '1pm + 2 hours' > Wed 8 May 15:00:00 UTC 2019 >

bug#35632: date Parse of '13:00 + 2 hours' Broken.

2019-05-08 Thread Ralph Corderoy
Hi, Using date from coreutils 8.31-1 on Arch Linux. This surprised me. $ TZ=UTC0 /bin/date -d '1pm + 2 hours' Wed 8 May 15:00:00 UTC 2019 $ TZ=UTC0 /bin/date -d '13:00 + 2 hours' Wed 8 May 12:00:00 UTC 2019 The documentation doesn't suggest `1pm' and `13:00' are treated differe