struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnenn...@apache.org
Subject [1/4] struts git commit: Changing an erroneous variable's name
Date Fri, 09 Oct 2015 09:13:49 GMT
Repository: struts
Updated Branches:
  refs/heads/master a5812bf0b -> 41dd070ed


Changing an erroneous variable's name

RFC 3399 does not exist. RFC 3339 is the one used here: https://tools.ietf.org/html/rfc3339

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9ad9404b
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9ad9404b
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9ad9404b

Branch: refs/heads/master
Commit: 9ad9404bfac2b936e1b5f0f5e828335bc5a51b48
Parents: 9638d7a
Author: Andrea Ligios <andrea.ligios@gmail.com>
Authored: Mon Oct 5 11:09:48 2015 +0200
Committer: Andrea Ligios <andrea.ligios@gmail.com>
Committed: Mon Oct 5 11:09:48 2015 +0200

----------------------------------------------------------------------
 .../com/opensymphony/xwork2/conversion/impl/DateConverter.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/9ad9404b/core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
b/core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
index 99b1558..076817d 100644
--- a/core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
+++ b/core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
@@ -93,9 +93,9 @@ public class DateConverter extends DefaultTypeConverter {
         DateFormat d2 = DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
         DateFormat d3 = DateFormat.getDateInstance(DateFormat.LONG, locale);
 
-        DateFormat rfc3399 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
+        DateFormat rfc3339 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
 
-        return new DateFormat[]{dt1, dt2, dt3, rfc3399, d1, d2, d3};
+        return new DateFormat[]{dt1, dt2, dt3, rfc3339, d1, d2, d3};
     }
 
 }


Mime
View raw message