syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: [SYNCOPE-156] FastDateFormat everywhere
Date Thu, 12 May 2016 08:33:51 GMT
Repository: syncope
Updated Branches:
  refs/heads/master b822bd75f -> 67fe7075b


[SYNCOPE-156] FastDateFormat everywhere


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/67fe7075
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/67fe7075
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/67fe7075

Branch: refs/heads/master
Commit: 67fe7075bff71bca00b2fca3381bbdfe40f1cfa3
Parents: b822bd7
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Thu May 12 10:33:45 2016 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Thu May 12 10:33:45 2016 +0200

----------------------------------------------------------------------
 .../client/console/wicket/markup/html/form/DateTextFieldPanel.java | 2 +-
 .../client/console/wicket/markup/html/form/DateTimeFieldPanel.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/67fe7075/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTextFieldPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTextFieldPanel.java
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTextFieldPanel.java
index 1c865d5..a9576e2 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTextFieldPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTextFieldPanel.java
@@ -98,7 +98,7 @@ public class DateTextFieldPanel extends DateFieldPanel {
 
     @Override
     public FieldPanel<Date> clone() {
-        final FieldPanel<Date> panel = new DateTextFieldPanel(getId(), name, new Model<Date>(),
datePattern);
+        final FieldPanel<Date> panel = new DateTextFieldPanel(getId(), name, new Model<Date>(),
fmt.getPattern());
         panel.setRequired(isRequired());
         panel.setReadOnly(isReadOnly());
         panel.setTitle(title);

http://git-wip-us.apache.org/repos/asf/syncope/blob/67fe7075/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTimeFieldPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTimeFieldPanel.java
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTimeFieldPanel.java
index 07cf7ee..70f4efa 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTimeFieldPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/DateTimeFieldPanel.java
@@ -168,7 +168,7 @@ public class DateTimeFieldPanel extends DateFieldPanel {
 
     @Override
     public FieldPanel<Date> clone() {
-        final FieldPanel<Date> panel = new DateTimeFieldPanel(getId(), name, new Model<Date>(null),
datePattern);
+        final FieldPanel<Date> panel = new DateTimeFieldPanel(getId(), name, new Model<Date>(null),
fmt.getPattern());
 
         panel.setRequired(isRequired());
         panel.setReadOnly(isReadOnly());


Mime
View raw message