ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twiggs, Glenn" <Glenn_Twi...@bmc.com>
Subject Updated!! [PATCH] org/apache/tools/ant/taskdefs/Tstamp.java
Date Wed, 02 Feb 2000 18:59:09 GMT
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");

Mime
View raw message