rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] changed file format?


From: David Kempe
Subject: Re: [rdiff-backup-users] changed file format?
Date: Mon, 07 Jun 2004 11:20:27 +1000
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Ben Escoto wrote:

Perhaps there is a problem with the timezone information with Python
under windows?



address@hidden ~
$ python
Python 2.3.3 (#1, Apr 30 2004, 08:54:23)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.

>>>>>> import time
>>>>>> time.daylight

1

>>>>>> time.localtime()

(2004, 6, 7, 10, 54, 21, 0, 159, 0)

>>>>>> time.altzone

-36000

>>>>>> time.timezone

-36000

>>>>>>


It's not daylight savings time at the moment, BTW.
-36000 is right for AEST,which is +10hrs

The windows python output:

Python 2.3.2 (#49, Oct  2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.

>>>>>> import time
>>>>>> time.daylight

1

>>>>>> time.localtime()

(2004, 6, 7, 10, 58, 25, 0, 159, 0)

>>>>>> time.altzone

-39600

>>>>>> time.timezone

-36000

>>>>>>



Only differs in the altzone.  Our summertime is UTC+11.

Linux python matches the windows python:

sloth:~# python
Python 2.3.2 (#2, Nov  6 2003, 17:16:33)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>>>>> import time
>>>>>> time.daylight

1

>>>>>> time.localtime()

(2004, 6, 7, 11, 1, 14, 0, 159, 0)

>>>>>> time.altzone

-39600

>>>>>> time.timezone

-36000

>>>>>>


Woody




>> -----Original Message-----
>> From: Dave Kempe [mailto:address@hidden
>> Sent: Monday, 7 June 2004 9:54 AM
>> To: Anthony Wood
>> Subject: [Fwd: Re: [rdiff-backup-users] changed file format?]
>>
>>
>>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]