Re: time: Daylight savings confusion

2009-02-05 Thread MRAB
Matt Nordhoff wrote: Tim H wrote: On Win XP 64bit, Python 2.6.1 64bit I am trying to rename files by their creation time. It seems the time module is too smart for its own good here. time.localtime(os.path.getctime(f)) returns a value one hour off from what windows reports for files that were

Re: time: Daylight savings confusion

2009-02-05 Thread Matt Nordhoff
Tim H wrote: > On Win XP 64bit, Python 2.6.1 64bit > > I am trying to rename files by their creation time. > > It seems the time module is too smart for its own good here. > > time.localtime(os.path.getctime(f)) returns a value one hour off from > what windows reports for files that were created

time: Daylight savings confusion

2009-02-04 Thread Tim H
On Win XP 64bit, Python 2.6.1 64bit I am trying to rename files by their creation time. It seems the time module is too smart for its own good here. time.localtime(os.path.getctime(f)) returns a value one hour off from what windows reports for files that were created when Daylight savings tim