fix testTruncate_dayOfWeek failing with some locales

pull/334/merge
Luboš Luňák 8 years ago committed by Alinson Xavier
parent 318caa886c
commit e052a144bd

@ -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