Re: Time shift problem when calling svn_time_to_cstring (when using Python)?
Mathias Weinert wrote:
>>I don't think you should need to change any of dates in the test expected
>>output. Are you seeing something that makes you think otherwise? (Got
> I just found out where my problem lies. The svn_time_to_cstring delivers
> the correct GMT date but mailer.py then prints the date in the human
> readable form. As a result of this the output of mailer.py depends on the
> time zone of the caller and therefor I will always get differences
> between my output and the expected one which is found in mailer-t1.current.
> So I think the only possibility to avoid this is to set the local timezone
> to GMT before running the test (or setting it within the test). Or do you
> have any other idea?
Hrm, I see. If setting to GMT for the duration of the test run is simple
enough (is it a tweak to one of the LC_* variables?), that sounds like a winner.
C. Michael Pilato <email@example.com>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Mon Jun 12 19:36:33 2006
This is an archived mail posted to the Subversion Dev