[PATCH]: Note that $Id$ and $Date$ use different time zones

Eric Hanchrow offby1 at blarg.net
Wed Oct 24 22:58:50 CDT 2007


[[[ * en/book/ch03-advanced-topics.xml
(svn.advanced.props.special.keywords): Note that $Id$ and $Date$ use different time zones
]]]

Diffs between working revision and workfile:

Index: ch03-advanced-topics.xml
===================================================================
--- ch03-advanced-topics.xml	(revision 2880)
+++ ch03-advanced-topics.xml	(working copy)
@@ -1408,7 +1408,7 @@
             is of the form <literal>$Date:
             2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006)
             $</literal>.  It may also be specified as
-            <literal>LastChangedDate</literal>.</para>
+            <literal>LastChangedDate</literal>.  Note that unlike the <literal>Id</literal> keyword, which always displays the date and time in UTC, the <literal>Date</literal> keyword uses the local time zone.  So don't be alarmed if the two appear to differ!</para>
         </listitem>
       </varlistentry>
       <varlistentry>
@@ -1452,7 +1452,7 @@
             $</literal>, and is interpreted to mean that the file
             <filename>calc.c</filename> was last changed in revision
             148 on the evening of July 28, 2006 by the user
-            <literal>sally</literal>.</para>
+            <literal>sally</literal>.  Note that unlike the <literal>Date</literal> keyword, which always displays the date and time in the local time zone, the <literal>Id</literal> keyword uses UTC.  So don't be alarmed if the two appear to differ!</para>
         </listitem>
       </varlistentry>
     </variablelist>


Diffs between working revision and workfile end here.
-- 
A novice of the temple once approached the Master Programmer with a question.
"Master, does Emacs have the Buddha nature?" the novice asked.
The Master Programmer had been in the temple for many years and
could be relied upon to know these things.  He thought for
several minutes before replying.  "I don't see why not.  It's
bloody well got everything else."




More information about the svnbook-dev mailing list