ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11582] New: - cvschangelog-Problem with 24h-display
Date Fri, 09 Aug 2002 08:14:31 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message