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

[Subclipse-dev] [PATCH] svnant timezone support (to accompany date formatting/parsing)

From: Andrew Snare <Andrew.Snare_at_redwood.com>
Date: 2006-09-14 16:23:59 CEST

Hi All,

I've attached a patch which adds a 'timezone' attribute to the svn ant
task. This allows the user to specify the name of the time zone in which
the date should be formatted/parsed.

Example usage:

<svn dateFormatter="yyyy-MM-dd HH:mm:ss.SS" dateTimeZone="UTC">
   <status path="." lastChangedRevisionProperty="svn.lastRev"
lastChangedDateProperty="lastRevDate"/>
</svn>

This is intended to work similarly to the core <tstamp> task. It would
also be easy to add locale support, but I didn't need that myself. :)

Regards,

  - Andrew
PS. I'm not on the list, so please include me directly in any replies.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org

Received on Thu Sep 14 16:25:48 2006

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

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