Issue 6 in gwt-datepicker: Add Locale for pt_BR (Brazil)

1 view
Skip to first unread message

codesite...@google.com

unread,
Aug 12, 2008, 11:52:18 AM8/12/08
to gwt-dat...@googlegroups.com
Issue 6: Add Locale for pt_BR (Brazil)
http://code.google.com/p/gwt-datepicker/issues/detail?id=6

New issue report by leonardo.f.cardoso:
Please.

Code below.

package org.zenika.widget.client.util;

import com.google.gwt.i18n.client.DateTimeFormat;

/**
* DateLocale implementation for Brasil.
* @author Leonardo F. Cardoso
*
*/
public class DateLocale_pt_BR implements DateLocale {

public int[] DAYS_ORDER = { 0, 1, 2, 3, 4, 5, 6 };

public int[] getDAY_ORDER() {
return DAYS_ORDER;
}

public DateTimeFormat getDateTimeFormat() {
DateTimeFormat format = DateTimeFormat.getFormat("dd/MM/yyyy");
return format;
}

}


Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Aug 13, 2008, 5:55:45 AM8/13/08
to gwt-dat...@googlegroups.com

Comment #1 by loic.ber...@zenika.com:
Thank you for your contribution, fix by revision 29.


Issue attribute updates:
Status: Fixed

Reply all
Reply to author
Forward
0 new messages