mirror of
https://github.com/konsoletyper/teavm.git
synced 2025-01-24 10:44:13 +08:00
Fixed GregorianCalendar constructor with TimeZone arg to initialize the time correctly.
This commit is contained in:
parent
cc8a5a6514
commit
047170947d
@ -60,7 +60,7 @@ public class TGregorianCalendar extends TCalendar {
|
||||
}
|
||||
|
||||
public TGregorianCalendar(TTimeZone zone) {
|
||||
setTimeZone(zone);
|
||||
this(zone, TLocale.getDefault());
|
||||
}
|
||||
|
||||
public TGregorianCalendar(int year, int month, int day) {
|
||||
|
Loading…
Reference in New Issue
Block a user