We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920f711 commit 1f0e710Copy full SHA for 1f0e710
core/src/main/java/org/opensearch/sql/expression/datetime/DateTimeFunctions.java
@@ -1332,7 +1332,7 @@ public static ExprValue exprDateDiff(
1332
* @return ExprValue of date type.
1333
*/
1334
public static ExprValue exprDateTime(ExprValue timestamp, ExprValue timeZone) {
1335
- String defaultTimeZone = TimeZone.getDefault().getID();
+ String defaultTimeZone = TimeZone.getDefault().toZoneId().toString();
1336
1337
try {
1338
LocalDateTime ldtFormatted =
0 commit comments