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:

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


...

> [mdb@yel mdb]$ TZ=Pacific/Honolulu date Fri Apr 15 07:07:12
> 2005 [mdb@yel 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...

    [oberon@courage ccvs-merge]$ date +%Z
    EDT
    [oberon@courage ccvs-merge]$ TZ=Asia/Calcutta date +%Z
    IST
    [oberon@courage ccvs-merge]$ TZ=Asia/Garbage date +%Z
    Asia/Garbage
    [oberon@courage 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]