Branko Čibej <brane@xbc.nu> writes:
> I've already solved the problem. APR now has apr_implode_gmt(), which
> always returns a UTC apr_time_t, as long as the exploded time has the
> correct tm_gmtoff value. We're using this API in whatever
> svn_wc__string_to_time() has become. And I pounded APR into
> calculating the correct tm_gmtoff on all platforms I can get my hands
> on, with all TZ settings I could find defined -- see the comments in
> apr/time/unix/time.c:get_offset().
By the way, my understanding of the above is that it doesn't matter
that svn_time_to_string() uses apr_explode_localtime() while
svn_time_from_string() uses apr_implode_gmt(). They don't have to
match, because svn_time_from_string() is going to read the gmt offset
from the exploded time and return a UTC apr_time_t no matter what.
Just a sanity check.
Hmmm, then I wonder why the heck things weren't working as expected in
fs-test.c...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:32 2006