Monday, November 22, 2010

Re: DateBox first day of week equals Sunday - pt_BR

It looks like there should be a DateTimeConstantsImpl_pt_BR.properties
file, but there isn't, so GWT is using
DateTimeConstantsImpl_pt.properties:

http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/i18n/client/constants/DateTimeConstantsImpl_pt.properties

That file sets first day of week to Monday:

firstDayOfTheWeek = 2

A pt_BR version should set first day of week to Sunday:

firstDayOfTheWeek = 1

http://www.timeanddate.com/calendar/?country=33
http://www.timeanddate.com/calendar/?country=15

You should enter a bug report for this:

http://code.google.com/p/google-web-toolkit/issues/entry

On Nov 22, 8:58 am, Diego Lovison <diegolovi...@gmail.com> wrote:
> how I can set for a DateBox the first day of the week to Sunday using
> pt_BR?
>
> thanks ;)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate