bug-cvs
[Top][All Lists]
Advanced

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

Re: get_date returning false


From: Derek Price
Subject: Re: get_date returning false
Date: Fri, 15 Apr 2005 10:43:08 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

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

Mark D. Baushke wrote:

> address@hidden mdb]$ export TZ=Asia/Calcutta address@hidden mdb]$ date Fri Apr
> 15 07:01:59 2005


...

> address@hidden mdb]$ TZ=Pacific/Honolulu date Fri Apr 15 07:07:12
> 2005 address@hidden mdb]$
>
> That said, I doubt if this will be a big problem given that CRAY
> doesn't yet support client/server as I have only been able to get
> :local: to work on it.


Hrm.  Does the Cray exhibit similar behavior to the following for
unrecognized time zones?  The POSIX spec doesn't really seem to specify...

    address@hidden ccvs-merge]$ date +%Z
    EDT
    address@hidden ccvs-merge]$ TZ=Asia/Calcutta date +%Z
    IST
    address@hidden ccvs-merge]$ TZ=Asia/Garbage date +%Z
    Asia/Garbage
    address@hidden ccvs-merge]$


I could write a simple test and skip the TZ dependent tests when
`TZ=REGION/CITY date +%Z` = "REGION/CITY".

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

iD8DBQFCX9L8LD1OTBfyMaQRAjgYAKCIjhFKYAYYQ56ioOZ4BwR5LfI9jACfT0Xf
ujWFAFVkOBJLyNWEs7Eo6is=
=dTgy
-----END PGP SIGNATURE-----






reply via email to

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