Revision: 9411
Author: [email protected]
Date: Mon Dec 13 09:02:12 2010
Log: Change the first day of the week from Monday to Sunday for Brazil
(and all of Portuguese except for Portugal, since Brazil's behavior
should be the default for Portuguese in an unknown country).
Issue: 5243
Patch by: jat
Review by: pdr
http://code.google.com/p/google-web-toolkit/source/detail?r=9411
Modified:
/trunk/user/src/com/google/gwt/i18n/client/constants/DateTimeConstantsImpl_pt.properties
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt.java
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt_PT.java
=======================================
---
/trunk/user/src/com/google/gwt/i18n/client/constants/DateTimeConstantsImpl_pt.properties
Fri Feb 26 11:54:15 2010
+++
/trunk/user/src/com/google/gwt/i18n/client/constants/DateTimeConstantsImpl_pt.properties
Mon Dec 13 09:02:12 2010
@@ -26,5 +26,5 @@
ampms = AM, PM
dateFormats = EEEE\\, d 'de' MMMM 'de' y, d 'de' MMMM 'de' y, dd/MM/yyyy,
dd/MM/yy
timeFormats = HH'h'mm'min'ss's' zzzz, HH'h'mm'min'ss's' z, HH:mm:ss, HH:mm
-firstDayOfTheWeek = 2
+firstDayOfTheWeek = 1
weekendRange = 7, 1
=======================================
---
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt.java
Mon Sep 27 06:25:06 2010
+++
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt.java
Mon Dec 13 09:02:12 2010
@@ -57,6 +57,11 @@
"d.C."
};
}
+
+ @Override
+ public int firstDayOfTheWeek() {
+ return 0;
+ }
@Override
public String formatMinuteSecond() {
=======================================
---
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt_PT.java
Wed Sep 29 08:04:55 2010
+++
/trunk/user/src/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_pt_PT.java
Mon Dec 13 09:02:12 2010
@@ -34,6 +34,11 @@
public String dateFormatMedium() {
return "d 'de' MMM 'de' yyyy";
}
+
+ @Override
+ public int firstDayOfTheWeek() {
+ return 1;
+ }
@Override
public String formatHour12Minute() {
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors