Browse Source

Really output time, when you say so

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277654 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
6c3ce08d1e
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      WHATSNEW
  2. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java

+ 2
- 0
WHATSNEW View File

@@ -318,6 +318,8 @@ Fixed bugs:
<exec>, <apply>, or <java> tasks was always logged to System.out <exec>, <apply>, or <java> tasks was always logged to System.out
instead of to the managing Task. instead of to the managing Task.


* <cvschangelog> printed date where it said time.

Changes from Ant 1.6.1 to Ant 1.6.2 Changes from Ant 1.6.1 to Ant 1.6.2
=================================== ===================================




+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2004 The Apache Software Foundation
* Copyright 2002-2005 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -71,7 +71,7 @@ public class ChangeLogWriter {
output.println("\t<entry>"); output.println("\t<entry>");
output.println("\t\t<date>" + OUTPUT_DATE.format(entry.getDate()) output.println("\t\t<date>" + OUTPUT_DATE.format(entry.getDate())
+ "</date>"); + "</date>");
output.println("\t\t<time>" + OUTPUT_DATE.format(entry.getDate())
output.println("\t\t<time>" + OUTPUT_TIME.format(entry.getDate())
+ "</time>"); + "</time>");
output.println("\t\t<author><![CDATA[" + entry.getAuthor() output.println("\t\t<author><![CDATA[" + entry.getAuthor()
+ "]]></author>"); + "]]></author>");


Loading…
Cancel
Save