diff --git a/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/variable/DateTypeUtils.scala b/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/variable/DateTypeUtils.scala index df6dff865d..e8f1e2c5ba 100644 --- a/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/variable/DateTypeUtils.scala +++ b/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/variable/DateTypeUtils.scala @@ -78,7 +78,7 @@ object DateTypeUtils { val dateFormat = dateFormatLocal.get() val dateFormat_std = dateFormatStdLocal.get() val cal: Calendar = Calendar.getInstance() - cal.add(Calendar.DATE, -1) +// cal.add(Calendar.DATE, -1) if (std) { dateFormat_std.format(cal.getTime) } else {