sorry for my english) In russia week starts with Monday (Понедельник)
Such a difference leads me to use workarround instead of *LocaleInfo.getCurrentLocale().getDateTimeFormatInfo()* This case makes me in big disapointment: I run this code on JDK8 DateFormatSymbols symbols = new DateFormatSymbols(new Locale("ru")); for (String day : symbols.getWeekdays()) { System.out.println(day); } and got воскресенье понедельник вторник среда четверг пятница суббота It's totally wrong! To be more preciese here is my use case: in GWT UI ComboBox with names of week days and my users are Russians and they used to use weeks with Monday as a first day. The ideal solution is to fill this ComboBox with values from *LocaleInfo.getCurrentLocale().getDateTimeFormatInfo().weekdaysFullStandalone() *bot no way. The order of week days in Russian is such as in Ierald locale en_IE example <http://samples.gwtproject.org/samples/Showcase/Showcase.html?locale=en_IE#!CwDatePicker> пятница, 9 сентября 2016 г., 17:42:20 UTC+3 пользователь Thomas Broyer написал: > > > > On Friday, September 9, 2016 at 4:34:02 PM UTC+2, Василий Старцев wrote: >> >> Great! But there is a bug: >> *com.google.gwt.i18n.client.impl.cldr.DateTimeFormatInfoImpl_ru* still >> have wrong weekdays order. >> >> @Override >> public String[] weekdaysFull() { >> return new String[] { >> "воскресенье", >> "понедельник", >> "вторник", >> "среда", >> "четверг", >> "пятница", >> "суббота" >> }; >> } >> >> >> >> should be >> >> >> >> @Override >> public String[] weekdaysFull() { >> return new String[] { >> "понедельник", >> "вторник", >> "среда", >> "четверг", >> "пятница", >> "суббота", >> >> "воскресенье" >> }; >> } >> >> >> >> Please fix this. >> >> > weekdaysFull starts on Sunday: > https://github.com/gwtproject/gwt/blob/caf2f6fa9a35a2602ea7b16426473dd9fcc92cea/user/src/com/google/gwt/i18n/shared/DefaultDateTimeFormatInfo.java#L333-L343 > and Google Translate tells me воскресенье (which you switched from the > first to the last position) is Sunday, and thus should be first here. > So I see no bug there. > > BTW, you employed the word "still", but this had never been reported; and > the proper way to report a bug is to file an issue on the issue tracker on > GitHub: http://www.gwtproject.org/makinggwtbetter.html#issuetracking > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.