Skip to content

Commit

Permalink
fix testTruncate_dayOfWeek failing with some locales
Browse files Browse the repository at this point in the history
  • Loading branch information
llunak authored and iSoron committed Sep 28, 2017
1 parent 318caa8 commit e052a14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static String formatHeaderDate(GregorianCalendar day)
private static GregorianCalendar getCalendar(long timestamp)
{
GregorianCalendar day =
new GregorianCalendar(TimeZone.getTimeZone("GMT"));
new GregorianCalendar(TimeZone.getTimeZone("GMT"), getLocale());
day.setTimeInMillis(timestamp);
return day;
}
Expand Down

0 comments on commit e052a14

Please sign in to comment.