[uClibc]strptime and mktime problem

Erik Andersen andersen at codepoet.org
Wed Jun 18 23:15:46 UTC 2003


On Wed Jun 18, 2003 at 05:10:27PM -0600, Manuel Novoa III wrote:
> On Wed, Jun 18, 2003 at 01:50:24PM -0700, Andrew May wrote:
> > Well I set TZ in the shell and ran the program. I will attach the
> > results. It still does not seem correct.
> 
> > / # export TZ=UTC
> > / # time_test
> ...
> > / # export TZ=PST
> > / # time_test
> 
> Unfortunately, you're TZ settings are not legal and are therefore
> being ignored.  At a minium, you a zone {3 to TZNAME_MAX chars}
> _and_ an offset.  Please see (near the end)
> http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
> for the valid format.

Something like PST8PDT for example

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the uClibc mailing list