Refine date format in logs.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 18 Oct 2020 00:41:07 +0000 (02:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 18 Oct 2020 00:41:07 +0000 (02:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Utils.js

index 216790bc368bc0e7664810138391d0e41129aa13..f25f48b2b8a81d03b78a72a2c56dd6a4fd5ebf6e 100644 (file)
@@ -128,7 +128,7 @@ class Utils {
 
   static basicFormatLog(prefixString = '') {
     const date = new Date();
-    return date.toISOString().substr(0, 19) + prefixString;
+    return date.toLocaleString() + prefixString;
   }
 
   static objectHasOwnProperty(object, property) {