bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38003: date --date=-1month gives same month today


From: Ilja Honkonen
Subject: bug#38003: date --date=-1month gives same month today
Date: Thu, 31 Oct 2019 10:34:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

Hello
Please CC me as I'm not on this list. Running date (GNU coreutils) 8.26 on fedora 30 today (date --utc -I: 2019-10-31) with --date=-1month gives the same month which doesn't make sense:
$ date --utc -I --date=-1month
2019-10-01
I assume using --date=-31day also wouldn't work if run e.g. in beginning of march so this looks like a bug. Same happens also without --utc and -I. Thanks
Ilja





reply via email to

[Prev in Thread] Current Thread [Next in Thread]