velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1770552 - /velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java
Date Sun, 20 Nov 2016 10:29:43 GMT
Author: cbrisson
Date: Sun Nov 20 10:29:43 2016
New Revision: 1770552

URL: http://svn.apache.org/viewvc?rev=1770552&view=rev
Log:
[tools] add a note for DateTool iso formats

Modified:
    velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java

Modified: velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java?rev=1770552&r1=1770551&r2=1770552&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java
(original)
+++ velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/DateTool.java
Sun Nov 20 10:29:43 2016
@@ -44,6 +44,7 @@ import org.apache.velocity.tools.config.
  *     <li>'iso' for RFC 3339 with time zone (locale independent), optionally suffixed
by '_time' or '_date' to get a specific time or date format</li>
  *     <li>a custom format, as specified in {@link SimpleDateFormat}</li>
  * </ul></p>
+ * <p>Iso formats don't display milliseconds and use a space separator between date
and time.</p>
  * <p><pre>
  * Example of formatting the "current" date:
  *  $date                         -> Oct 19, 2003 9:54:50 PM



Mime
View raw message