This is an automated email from the ASF dual-hosted git repository.

alexkun pushed a commit to branch dev-1.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git

commit f35b758b7ae275b9da68edb5de30f9ad271f592e
Author: peacewong <[email protected]>
AuthorDate: Fri Jul 22 19:45:38 2022 +0800

    update dateFormatHourStd to yyyy-MM-dd HH
---
 .../main/scala/org/apache/linkis/common/variable/DateTypeUtils.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 cedc8933c..ec4a8a561 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
@@ -43,7 +43,7 @@ object DateTypeUtils {
   }
 
   val dateFormatHourStdLocal = new ThreadLocal[SimpleDateFormat]() {
-    override protected def initialValue = new SimpleDateFormat("yyyy-MM-dd-HH")
+    override protected def initialValue = new SimpleDateFormat("yyyy-MM-dd HH")
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to