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

[Subclipse-users] date formatting bug in SvnAnt?

From: Daniel Nielsen <Daniel.Nielsen_at_blipsystems.com>
Date: Mon, 10 Nov 2008 13:32:30 +0100

Hi.

When using svnant in our project, I have encountered some date
formatting issues with the <info> task.

If I do the following from my cygwin shell:

dani_at_danipc1 ~/work/blipzonesee-trunk
$ svn info
Path: .
<snip>
Last Changed Author: dani
Last Changed Rev: 4016
Last Changed Date: 2008-11-10 12:57:40 +0100 (Mon, 10 Nov 2008)

But when I use:

<svn>
  <info target="." propprefix="svn.local." verbose="true"/>
</svn>

I get:
<Info> started ...
<snip>
svn.local.author: dani
svn.local.lastRev: 4016
svn.local.lastDate: Mon Nov 10 00:57:40 CET 2008
<Info> finished.

Notice how the date is formatted 12 hours wrong.

I'm running on Vista (latest) with ant 1.7.1 from IntelliJ 8.0.
It also fails with ant 1.7.0 invoked from a cygwin shell.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-11-10 13:32:52 CET

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

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