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

Re: keyword "Id": surprising substitution

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Tue, 1 Jun 2010 03:50:18 -0500

On Jun 1, 2010, at 03:42, Schroeder, Hartmut wrote:

> we got a problem with keyword substitution.
> After commit the substition of 'Author', 'Rev' etc is ok, but the Time
> in 'Id' is not the same as in 'Date':
>
> $Date: 2010-06-01 10:34:52 +0200 (Tue, 01 Jun 2010) $ (correct server
> time)
> $Id: test_it.xml 4989 2010-06-01 08:34:52Z HSchroeder $
>
> We use svn 1.5.5, Apache 2.0 and a Windows Server.

According to the documentation, this is behaving as intended. $Date$ uses local time while $Id$ uses UTC time. See:

http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
Received on 2010-06-01 10:51:02 CEST

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.