bug-cvs
[Top][All Lists]
Advanced

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

Re: get_date returning false


From: Mark D. Baushke
Subject: Re: get_date returning false
Date: Fri, 15 Apr 2005 00:11:19 -0700

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

Derek Price <derek@ximbiot.com> writes:

> Ian Abbott wrote:
> 
> | Hi Derek,
> |
> | On 08/04/05 19:05, you wrote:
> |
> |> Is there some simple, cross-platform test I could use to fall
> |> back on GMT0BST,M3.5.0,M10.5.0 if the Europe/London timezone
> |> isn't defined or skip the tests entirely if neither zone is
> |> enabled?
> |
> |
> | No idea, sorry.  Hopefully it won't matter unless the internal use
> | of GMT creaps back in!
> 
> 
> Anybody have any idea how many platforms won't support the
> Large_Place/City timezone format?  Mark?  Larry?  Should I check in
> some new tests and see how many nightly test platforms break?  I could
> always back them out again.

I think most of my platforms will work fine (FreeBSD 4.x, GNU/Linux,
Solaris, MacOS X). I am not sure about the CRAY... Let me see:

ssh login.cray-cyber.org
<attach to yel.cray-cyber.org>

######################################################################
#                   Welcome to yel.cray-cyber.org                    #
# This is a Cray Y/MP EL with 4 CPUs and 1 GB RAM running UNICOS 9.0 #
#                                                                    #
#      For more information about this machine, see the website      #
#  By logging on, you agree to the terms of usage which can be found #
#          under http://www.cray-cyber.org/access/terms.php          #
######################################################################


[mdb@yel mdb]$ echo $TZ
MET-1MET,M3.5.0,M10.5.0
[mdb@yel mdb]$ export TZ=Asia/Calcutta 
[mdb@yel mdb]$ date
Fri Apr 15 07:01:59     2005
[mdb@yel mdb]$ export TZ=MET-1MET,M3.5.0,M10.5.0
[mdb@yel mdb]$ date
Fri Apr 15 09:02:13 MET 2005
[mdb@yel mdb]$ 

Let me see what the man page for environ has to say about TZ

[mdb@yel mdb]$ man -s 7 environ
...
    TZ        Time zone information.  The format is xxxnzzz where xxx is
               standard local time zone abbreviation, n is the difference
               in hours from GMT, and zzz is the abbreviation for the
               daylight-saving local time zone, if any; for example,
               EST5EDT.
...

[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.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCX2kX3x41pRYZE/gRAv2OAKDECR+JK1WE/FasJqigHvsvCzklegCeNZDL
K893bsLln1IzWscZc8cLK+c=
=DJA9
-----END PGP SIGNATURE-----




reply via email to

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