ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Available.java defaults.properties Property.java Tstamp.java
Date Sun, 13 Feb 2000 16:39:45 GMT
"Twiggs, Glenn" wrote:
> 
> The Tstamp task uses incorrect formatting strings for DSTAMP & TSTAMP:
> 
> * Use the month format in DSTAMP (mm is minutes)
> * Use the 24-hour hour format in TSTAMP (otherwise, at 7pm the TSTAMP will
> be 0700 instead of 1900).

Upsss, sorry about that. :(
 
> diff  jakarta-ant\src\main\org\apache\tools\ant\taskdefs\Tstamp.java
> cvs diff: warning: unrecognized response `cvs: setgroups: Operation not
> permitted' from cvs server
> Index: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tstamp.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tst
> amp.java,v
> retrieving revision 1.2
> diff -r1.2 Tstamp.java
> 75c75
> <             SimpleDateFormat dstamp = new SimpleDateFormat ("yyyymmdd");
> ---
> >             SimpleDateFormat dstamp = new SimpleDateFormat ("yyyyMMdd");
> 78c78
> <             SimpleDateFormat tstamp = new SimpleDateFormat ("hhmm");
> ---
> >             SimpleDateFormat tstamp = new SimpleDateFormat ("HHmm");

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message