You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Haixiong Wang <ha...@gmail.com> on 2007/09/10 21:37:56 UTC

svn:keyword Id timezone issue

Hi, All,

I'm using svn keyword substitution in my source files. The keyword
"Id" is updated everytime I do a commit, e.g.,

$Id: calc.c 148 2006-07-28 21:30:43Z sally $

What I'd like to ask is: is there any way to customize the timezone
used for printing out Id? I know that "Z" stands for Zulu/Standard
time, but is it possible to have local time for Id?

Thank you.

Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn:keyword Id timezone issue

Posted by John Peacock <ze...@gmail.com>.
On 9/10/07, Ryan Schmidt <su...@ryandesign.com> wrote:
>
>
> On Sep 10, 2007, at 16:37, Haixiong Wang wrote:
> > What I'd like to ask is: is there any way to customize the timezone
> > used for printing out Id? I know that "Z" stands for Zulu/Standard
> > time, but is it possible to have local time for Id?
>
> No, it's not possible.
>

Well, I'd actually put that as "it is not possible at this time", since most
of the pieces are in place for custom keywords, but some niggling design
details need to be worked out.

The other thing to point out is that the reason that the time is displayed
in UTC is because that is how the files are stored in the repository.  It
means that someone in New York and someone in Hong Kong can check out the
file and have the same timestamp...

John

Re: svn:keyword Id timezone issue

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 10, 2007, at 16:37, Haixiong Wang wrote:

> I'm using svn keyword substitution in my source files. The keyword
> "Id" is updated everytime I do a commit, e.g.,
>
> $Id: calc.c 148 2006-07-28 21:30:43Z sally $
>
> What I'd like to ask is: is there any way to customize the timezone
> used for printing out Id? I know that "Z" stands for Zulu/Standard
> time, but is it possible to have local time for Id?

No, it's not possible.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org