You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Twiggs, Glenn" <Gl...@bmc.com> on 2000/02/02 19:59:09 UTC

Updated!! [PATCH] org/apache/tools/ant/taskdefs/Tstamp.java

Two patches instead of one: Use the month format in DSTAMP (mm is minutes)
and use the 24-hour hour format in TSTAMP.


diff  jakarta-ant\src\main\org\apache\tools\ant\taskdefs\Tstamp.java
cvs diff: warning: unrecognized response `cvs: setgroups: Operation not
permitte
d' 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");