Daylight savings time problem

Salsa durieux_br at yahoo.com.br
Wed Mar 26 20:53:54 EDT 2008


   Yeah, I guess it would, but it doesn't feel like
the "right" way to do it. Isn't there a way I can set
tm_isdst to "-1"? Or at least slice the time_struct
and then add another element to its end when passing
it to mktime?

   Thanks for all your help!

--- "D'Arcy J.M. Cain" <darcy at druid.net> wrote:

> On Wed, 26 Mar 2008 13:23:23 -0700 (PDT)
> Salsa <durieux_br at yahoo.com.br> wrote:
> >    I'm sorry, but could you be more specific? How
> exactly should I use UTC?
> 
> Pardon me.  I misread.  I thought that you were
> creating the files.  I
> see that you are reading files created by someone
> else.
> 
> Still, would "os.environ['TZ'] = 'UTC'" fix the
> issue?
> 
> -- 
> D'Arcy J.M. Cain <darcy at druid.net>         | 
> Democracy is three wolves
> http://www.druid.net/darcy/                |  and a
> sheep voting on
> +1 416 425 1212     (DoD#0082)    (eNTP)   |  what's
> for dinner.
> 


--
Fabio Durieux Lopes - Salsa


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Python-list mailing list