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

Re: timezone in svn log / svn2cl

From: William Yardley <svn_at_veggiechinese.net>
Date: Fri, 15 Feb 2008 00:09:37 -0800

On Thu, Feb 14, 2008 at 08:07:46PM -0800, Blair Zajac wrote:
> On Feb 14, 2008, at 6:06 PM, William Yardley wrote:
>
>> I'm using svn2cl (which uses xsltproc) to print out changes in a given
>> time period (e.g., last 24 hours). I know how to define the time zone
>> used in the call to svn log, but I'm not sure if it's possible to change
>> the time zone displayed in the resulting output. I tried setting
>> --stringparam timezone in the xsltproc command, but that didn't seem to
>> work (unless I did it wrong).
>>
>> Worst case scenario, I could convert the dates to localtime in perl, but
>> was hoping to avoid it.
>
> Are you setting variable the TZ environmental variable to do this?

The dates don't seem to be affected whether $TZ is set or not. The times
always show up in GMT rather than in the system time zone or the time
zone defined in $TZ.

w

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-15 09:09:55 CET

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

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