This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: timezone of svn server for -r?
On 2005-11-03 22:58:17 +0100, Andreas Schwab wrote:
> Joern RENNECKE <joern.rennecke@st.com> writes:
>
> > What timezone does the svn server use when I specify time & date with -r?
The date is relative to your local timezone (the one of the client).
The server doesn't use a particular timezone.
> From the subversion book:
>
> Here are examples of the date formats that Subversion accepts.
> Remember to use quotes around any date that contains spaces.
> $ svn checkout --revision {2002-02-17}
> $ svn checkout --revision {15:30}
> $ svn checkout --revision {15:30:00.200000}
> $ svn checkout --revision {"2002-02-17 15:30"}
> $ svn checkout --revision {"2002-02-17 15:30 +0230"}
> $ svn checkout --revision {2002-02-17T15:30}
> $ svn checkout --revision {2002-02-17T15:30Z}
> $ svn checkout --revision {2002-02-17T15:30-04:00}
> $ svn checkout --revision {20020217T1530}
> $ svn checkout --revision {20020217T1530Z}
> $ svn checkout --revision {20020217T1530-0500}
>
> Use Z or +0000 for the timezone.
Or if you want to always use UTC, you can set the TZ environment
variable to UTC, possibly via a shell alias if you do not want
that globally.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA