summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-12-10 12:38:45 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-10 12:30:51 +0000
commit67b20a12d6016654663eb2726c2a095a6935593a (patch)
tree8d0b942df25319a65022a46d5047ca1f5e2f04cd
parent52236519d9d3ed0cd7de5ed52c6aa19c514e15d6 (diff)
downloadvaadin-framework-67b20a12d6016654663eb2726c2a095a6935593a.tar.gz
vaadin-framework-67b20a12d6016654663eb2726c2a095a6935593a.zip
Set locale explicitly in DateRangeWithSql. (#15342)
Change-Id: I5f73ac5e8bc6be93fa0f9b9089b1584fb35f4a76
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/DateRangeWithSqlDate.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/datefield/DateRangeWithSqlDate.java b/uitest/src/com/vaadin/tests/components/datefield/DateRangeWithSqlDate.java
index 74d3e85892..d3bc4267ec 100644
--- a/uitest/src/com/vaadin/tests/components/datefield/DateRangeWithSqlDate.java
+++ b/uitest/src/com/vaadin/tests/components/datefield/DateRangeWithSqlDate.java
@@ -20,6 +20,8 @@ import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.DateField;
import com.vaadin.ui.InlineDateField;
+import java.util.Locale;
+
public class DateRangeWithSqlDate extends AbstractTestUI {
// 2014-12-01
@@ -33,6 +35,7 @@ public class DateRangeWithSqlDate extends AbstractTestUI {
@Override
protected void setup(VaadinRequest request) {
DateField df = new InlineDateField();
+ df.setLocale(Locale.US);
df.setRangeStart(startDate);
df.setRangeEnd(endDate);