[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Time shift problem when calling svn_time_to_cstring (when using Python)?

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2006-06-08 17:26:22 CEST

Hi folks,

When I wanted to update the test script for mailer.py I encountered the
following problem for which I need your advice.

After running the test (including mailer-tweak.py) I found different
dates/times in my output compared to the one from the repository. There
is a difference of exactly 9 houres for every date.

So my first thought was that this has to do something with my local
time zone. But when the function svn_time_to_cstring is supposed to
return GMT there shouldn't be any problem.

When I call svn_time_to_cstring with 0 as argument I get
1970-01-01T00:00:00.000000Z so again it seems as if this function is
independent from my local time zone.

Can anybody tell me if it's okay to change the date in the expected
output file or did I miss something?

Thank you!

Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 8 17:27:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.