You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/09 10:14:31 UTC
DO NOT REPLY [Bug 11582] New: -
cvschangelog-Problem with 24h-display
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11582
cvschangelog-Problem with 24h-display
Summary: cvschangelog-Problem with 24h-display
Product: Ant
Version: 1.5
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: m.mehrmann@fernuni-hagen.de
When I used the cvschangelog-Task I have the problem, that all time-data, that
is written in the xml-file is only in 12h-format. So sometimes the chronological
order of commits is broken, because a commit at 14:20 (becomes 02:20) is then
before a commit at 07:00
I had a look at the source-files in org/apache/tools/ant/taskdefs/cvslib and
realized that all SimpleDateFormat-Instances uses the pattern "hh:mm".
I have changed the patterns to "HH:mm" and built the ant-jars and now it works
as I expected...
I wonder why noone else had detected this problem until now?!? Depends this
problem on the locale? I had the de_DE locale.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>