bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] problem with getdate


From: Derek Price
Subject: Re: [bug-gnulib] problem with getdate
Date: Fri, 08 Apr 2005 11:32:57 -0400
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Abbott wrote:

| Hi,
|
| I'm having some trouble with the getdate test utility with certain
| time-specs with certain timezones.  Is this the correct behaviour?
| I ask, because the 'cvs' program uses GMT internally and that is
| screwing me up!
|
| $ TZ=Europe/London ./getdate Enter date, or blank line to exit.
|> 2005-3-1 GMT
| 2005-03-01 00:00:00.000000000
|> 2005-3-27 GMT
| 2005-03-27 00:00:00.000000000
|> 2005-3-28 GMT
| Bad format - couldn't convert.
|> 2005-4-1 GMT
| Bad format - couldn't convert.
|
| $ TZ=America/New_York ./getdate Enter date, or blank line to exit.
|> 2005-3-1 EST
| 2005-03-01 00:00:00.000000000
|> 2005-4-1 EST
| 2005-04-01 00:00:00.000000000
|> 2005-5-1 EST
| Bad format - couldn't convert.


If I pass these times in as "EDT" (Eastern Daylight Time), then they
work.  Ian mentioned doing something similar with "BST" (British
Summer Time) in a separate email.  Is this an intentional failure?  Is
it appropriate with a zone like GMT?

Regards,

Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCVqQpLD1OTBfyMaQRAhzIAKCji2DsopLzJisv1kyYPim1yJ+MsQCfdLIQ
TczokDSOpJ/6cNx2aX5B4bM=
=dYmQ
-----END PGP SIGNATURE-----






reply via email to

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