]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix locale to be consistent across browsers
authorArtur Signell <artur.signell@itmill.com>
Fri, 17 Dec 2010 08:18:04 +0000 (08:18 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 17 Dec 2010 08:18:04 +0000 (08:18 +0000)
svn changeset:16549/svn branch:6.5

tests/src/com/vaadin/tests/components/datefield/ValueThroughProperty.java

index e39e3ea96336b167857bda13402f25a50855f4fa..1f9735b5437ce9a3a75b7fcd578200c15d22a32f 100644 (file)
@@ -2,6 +2,7 @@ package com.vaadin.tests.components.datefield;
 
 import java.util.Calendar;
 import java.util.Date;
+import java.util.Locale;
 
 import com.vaadin.data.Property;
 import com.vaadin.data.util.ObjectProperty;
@@ -27,6 +28,7 @@ public class ValueThroughProperty extends TestBase {
                 Label.CONTENT_XML));
 
         final PopupDateField df = new PopupDateField(dateProperty);
+        df.setLocale(new Locale("en", "US"));
         df.setImmediate(true);
         df.setResolution(DateField.RESOLUTION_DAY);
         addComponent(df);