From 09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Fri, 29 Sep 2017 15:05:53 +0200 Subject: Fixing my stupidity Pt. I --- src/main/java/de/romjaki/dsbclient/UnUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/de/romjaki/dsbclient/UnUtil.java b/src/main/java/de/romjaki/dsbclient/UnUtil.java index 2c3af02..f65becf 100644 --- a/src/main/java/de/romjaki/dsbclient/UnUtil.java +++ b/src/main/java/de/romjaki/dsbclient/UnUtil.java @@ -20,8 +20,8 @@ public class UnUtil { UnUtil.singleton(UnUtil.class); } - public static Calendar calendarByDate(Date date, Locale germany) { - Calendar calendar = Calendar.getInstance(Locale.GERMANY); + public static Calendar calendarByDate(Date date, Locale locale) { + Calendar calendar = Calendar.getInstance(locale); calendar.setTime(date); return calendar; } -- cgit