fix testTruncate_dayOfWeek failing with some locales

pull/334/head
Luboš Luňák 8 years ago
parent 3fa9be2ffb
commit 5d7ee8264b

@ -69,7 +69,7 @@ public abstract class DateUtils
private static GregorianCalendar getCalendar(long timestamp)
{
GregorianCalendar day =
new GregorianCalendar(TimeZone.getTimeZone("GMT"));
new GregorianCalendar(TimeZone.getTimeZone("GMT"), getLocale());
day.setTimeInMillis(timestamp);
return day;
}

Loading…
Cancel
Save