Scripting: Minor TimeZone Fix
Changed DateMethodFunctionValues to use UTC instead of GMT. Should not affect any existing code, but is correct and consistent. closes #10994
This commit is contained in:
parent
b4b5603617
commit
9fae152cf5
|
@ -34,7 +34,7 @@ class DateMethodFunctionValues extends FieldDataFunctionValues {
|
||||||
super(parent, data);
|
super(parent, data);
|
||||||
|
|
||||||
this.calendarType = calendarType;
|
this.calendarType = calendarType;
|
||||||
calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT"), Locale.ROOT);
|
calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC"), Locale.ROOT);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue