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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new d4e6e3edfd [bugfix]fix time accuracy (#11521)
d4e6e3edfd is described below

commit d4e6e3edfdc2ff454e3f957a86f7a82610b557dd
Author: AlexYue <yj976240...@qq.com>
AuthorDate: Thu Aug 4 21:36:20 2022 +0800

    [bugfix]fix time accuracy (#11521)
---
 fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java 
b/fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java
index de63586f13..4317ca4019 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java
@@ -83,7 +83,7 @@ public class TimeUtils {
             ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd 
HH:mm:ss"));
 
     private static ThreadLocal<SimpleDateFormat> datetimeMSFormatThreadLocal =
-            ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd 
HH:mm:ss:S"));
+            ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd 
HH:mm:ss.SSS"));
 
     static {
         TIME_ZONE = new SimpleTimeZone(8 * 3600 * 1000, "");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to