You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/10/06 09:29:01 UTC

[2/5] isis git commit: ISIS-1204: don't lower case the configured name for the joda LocalDate pattern (should be MM, not mm for the months).

ISIS-1204: don't lower case the configured name for the joda LocalDate pattern (should be MM, not mm for the months).


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

Branch: refs/heads/master
Commit: fbb2facd2e5269a6f6921e7a185945f19ab68655
Parents: fe25d54
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Tue Oct 6 08:22:36 2015 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Tue Oct 6 08:22:36 2015 +0100

----------------------------------------------------------------------
 .../value/datejodalocal/JodaLocalDateValueSemanticsProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/fbb2facd/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/value/datejodalocal/JodaLocalDateValueSemanticsProvider.java
----------------------------------------------------------------------
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/value/datejodalocal/JodaLocalDateValueSemanticsProvider.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/value/datejodalocal/JodaLocalDateValueSemanticsProvider.java
index 6fa869b..003ae7b 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/value/datejodalocal/JodaLocalDateValueSemanticsProvider.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/value/datejodalocal/JodaLocalDateValueSemanticsProvider.java
@@ -150,7 +150,7 @@ public class JodaLocalDateValueSemanticsProvider extends ValueSemanticsProviderA
             final FacetHolder holder, final IsisConfiguration configuration, final ValueSemanticsProviderContext context) {
         super(type(), holder, LocalDate.class, TYPICAL_LENGTH, MAX_LENGTH, Immutability.IMMUTABLE, EqualByContent.HONOURED, DEFAULT_VALUE, configuration, context);
 
-        String configuredNameOrPattern = getConfiguration().getString(CFG_FORMAT_KEY, "medium").toLowerCase().trim();
+        String configuredNameOrPattern = getConfiguration().getString(CFG_FORMAT_KEY, "medium").trim();
         updateTitleStringFormatter(configuredNameOrPattern);
     }