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

bug#6236: Bug report in Date Command

2010-06-07 Thread Bob Proulx
Eric Blake wrote: This is a mailing list frequented by lots of readers. I'm not David, but I can reply. By coincidence I am not David either. But will respond too anyway. :-) lijian 65631 wrote: When I input the comman 'date +%Y%m%d -d 1986-05-04 1 day' to get the next day of

bug#6236: Bug report in Date Command

2010-05-21 Thread Eric Blake
On 05/20/2010 08:07 PM, lijian 65631 wrote: Dear David, This is a mailing list frequented by lots of readers. I'm not David, but I can reply. When I input the comman 'date +%Y%m%d -d 1986-05-04 1 day' to get the next day of '1986-05-04', I get the result as below. Maybe it is a bug of

bug#6236: Bug report in Date Command

2010-05-20 Thread lijian 65631
Dear David, When I input the comman 'date +%Y%m%d -d 1986-05-04 1 day' to get the next day of '1986-05-04', I get the result as below. Maybe it is a bug of Date command , Please help to find it, Thanks. Regards, Lijian 65631 Email: mailto:jay...@huawei.com jay...@huawei.com Tel

Bug report for date

2009-07-28 Thread Paul Grinberg
Hi, Gives me correct date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+150 date Wed Jul 22 12:27:15 EDT 2009 Gives me incorrect date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+172 date Tue Jul 28 18:27:09 GMT 2009 Basically I cannot go back more than 6 days...

Re: Bug report for date

2009-07-28 Thread Bob Proulx
Paul Grinberg wrote: Gives me correct date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+150 date Wed Jul 22 12:27:15 EDT 2009 Gives me incorrect date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+172 date Tue Jul 28 18:27:09 GMT 2009 Basically I cannot go back more than 6

Re: Bug report for date

2009-07-28 Thread Philip Rowlands
On Tue, 28 Jul 2009, Paul Grinberg wrote: Gives me correct date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+150 date Wed Jul 22 12:27:15 EDT 2009 Gives me incorrect date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+172 date Tue Jul 28 18:27:09 GMT 2009 Basically I cannot go back

RE: Bug report for date

2009-07-28 Thread Philip Rowlands
On Tue, 28 Jul 2009, Paul Grinberg wrote: Shell script for SolarisIt can go future as long as I want, but past only 6 days

RE: Bug report for date

2009-07-28 Thread Paul Grinberg
: date [-u] mmddHHMM[[cc]yy][.SS] date [-u] [+format] date -a [-]sss[.fff] Thanks, Paul -Original Message- From: Bob Proulx [mailto:b...@proulx.com] Sent: Tuesday, July 28, 2009 7:08 PM To: Paul Grinberg Cc: bug-coreutils@gnu.org Subject: Re: Bug report for date Paul

RE: Bug report for date

2009-07-28 Thread Paul Grinberg
Message- From: Philip Rowlands [mailto:p...@doc.ic.ac.uk] Sent: Tuesday, July 28, 2009 7:40 PM To: Paul Grinberg Cc: bug-coreutils@gnu.org Subject: Re: Bug report for date On Tue, 28 Jul 2009, Paul Grinberg wrote: Gives me correct date: [ctpsmg11-dcdhealth@/opt/app/dcdhealth] # TZ=EDT+150

RE: Bug report for date

2009-07-28 Thread Paul Grinberg
-Original Message- From: Philip Rowlands [mailto:p...@doc.ic.ac.uk] Sent: Tuesday, July 28, 2009 7:56 PM To: Paul Grinberg Cc: bug-coreutils@gnu.org Subject: RE: Bug report for date On Tue, 28 Jul 2009, Paul Grinberg wrote: Shell script for SolarisIt can go future as long as I want

Re: Bug report for date

2009-07-28 Thread Bob Proulx
Paul Grinberg wrote: Thank you for your reply. You are right, I am trying to calculate time backwardsit only allows 6 days back...i need 7 :) the whole week :) Unfortunately in solaris it does not work :((( Well, this is the mailing list for the GNU system's date and so you wouldn't

RE: Bug report for date

2009-07-28 Thread Paul Grinberg
Perl is my friend :))) Best, Paul -Original Message- From: Bob Proulx [mailto:b...@proulx.com] Sent: Tuesday, July 28, 2009 8:29 PM To: Paul Grinberg Cc: bug-coreutils@gnu.org Subject: Re: Bug report for date Paul Grinberg wrote: Thank you for your reply. You are right, I am trying