summaryrefslogtreecommitdiff
path: root/src/main/java/de/romjaki
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/romjaki')
-rw-r--r--src/main/java/de/romjaki/dsbclient/UnUtil.java4
1 files changed, 2 insertions, 2 deletions
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;
}