bug#37961: Bug report of date commond

2019-10-28 Thread Paul Eggert
On 10/28/19 12:34 AM, zhangzhi...@mail.iap.ac.cn wrote: ~>date -d "1940-06-01" +"%Y-%m-%d" date: invalid date ‘1940-06-01’ Presumably your TZ setting is Asia/Shanghai, as I see the symptoms as follows: $ TZ=Asia/Shanghai date -d "1940-06-01" +"%Y-%m-%d" date: invalid date ‘1940-06-01’

bug#37961: Bug report of date commond

2019-10-28 Thread zhangzhi...@mail.iap.ac.cn
Mr. maintainers: Hello! I am very glad to write this email to report my problem. When I am running commond on my server: ~>date -d "1940-06-01" +"%Y-%m-%d" date: invalid date ‘1940-06-01’ but the other commond works right: sense3:~>date -d '1939-06-01' +"%Y-%m-%d" 1939-06-01