time/strptime/mktime/localtime

Oleg Broytmann phd at phd.russ.ru
Fri Nov 12 08:29:15 EST 1999


On Fri, 12 Nov 1999, Michael [iso-8859-1] StrЖder wrote:
> > 
> > print time.strptime("1999-09-21 21:44:33", "%Y-%m-%d %T")
> > 
> > Linux:   (1999, 9, 21, 21, 44, 33, 6, 1, 0)
> > Solaris: (1999, 9, 21, 21, 44, 33, 6, 1, 0)
> 
> A couple of weeks ago I found some oddities with strptime on my
> glibc-based Linux system. Someone told me that strptime in glibc is
> broken.

   Other way around - I have problems on Solaris. On linux all goes well.

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list