bug#37921: date -d "a day ago" differs from date -d "1 day ago"

2019-10-25 Thread Matt Carter
Thank you, Eric and Berny, for the explanation. I'm glad to see it's intentional. Thanks for teaching me about the military time zones. -Matt

bug#37921: date -d "a day ago" differs from date -d "1 day ago"

2019-10-25 Thread Eric Blake
On 10/25/19 8:59 AM, Matt Carter wrote: When I ask date(1) for the date "a day ago", I get a different result from when I ask date(1) for the date "1 day ago". The results differ by 3 hours. If I ask for UTC time, the results differ by 1 hour. I'm not able to find anything in the manual to

bug#37921: date -d "a day ago" differs from date -d "1 day ago"

2019-10-25 Thread Bernhard Voelker
On 2019-10-25 15:59, Matt Carter wrote: > + date -d 'a day ago' Please look at the output with --debug. $ date --debug -d 'a day ago' date: parsed zone part: UTC-01 [...] The first 'a' is not parsed [1] as a synonym for "one day", but rather as the "A" military timezone [2]. [1]

bug#37921: date -d "a day ago" differs from date -d "1 day ago"

2019-10-25 Thread Matt Carter
When I ask date(1) for the date "a day ago", I get a different result from when I ask date(1) for the date "1 day ago". The results differ by 3 hours. If I ask for UTC time, the results differ by 1 hour. I'm not able to find anything in the manual to explain this difference. I realize making