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] https://git.sv.gnu.org/cgit/gnulib.git/tree/lib/parse-datetime.y?id=06011ed74e#n1161 [2] https://en.wikipedia.org/wiki/List_of_military_time_zones Have a nice day, Berny