aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java')
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java
index bd6e0d6902..b7c8feff64 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java
@@ -1958,8 +1958,8 @@ public class Calendar extends AbstractLegacyComponent
Attributes attr = design.attributes();
if (design.hasAttr("time-format")) {
- setTimeFormat(TimeFormat.valueOf(
- "Format" + design.attr("time-format").toUpperCase()));
+ setTimeFormat(TimeFormat.valueOf("Format"
+ + design.attr("time-format").toUpperCase(Locale.ROOT)));
}
if (design.hasAttr("start-date")) {