Eric Roode on 26 Mar 2008 07:04:00 -0700


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

Time zone


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

Does anyone know a good way to get the current locale's time zone, without
relying on any non-core modules?

The way I had been doing it was to use POSIX's strftime() call.  However, that
now appears to have grown a bug.  Under cygwin, strftime("%Z",...) now goes
into an infinite loop, pegging the CPU.

Suggestions?

- --
Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32) - WinPT 1.2.0

iD8DBQFH6le7woSYc5qQVqoRAi7BAJwOpPiYexa8vofzqFKRqYIBKf+TWwCfYh2m
K3Q33Ebqo3mIyBc77ijGCcQ=
=ZXJ6
-----END PGP SIGNATURE-----


___________________________________________________________________

Privacy Notice: This message has been sent via www.zoemail.net using
patented e-mail protection technology developed by AT&T Labs. Reply to
the "keyed address" above to ensure delivery.

-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**


  • Follow-Ups: