repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bbcb3d
)
Refine date format in logs.
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 18 Oct 2020 00:41:07 +0000
(
02:41
+0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/Utils.js
b/src/utils/Utils.js
index 216790bc368bc0e7664810138391d0e41129aa13..f25f48b2b8a81d03b78a72a2c56dd6a4fd5ebf6e 100644
(file)
--- a/
src/utils/Utils.js
+++ b/
src/utils/Utils.js
@@
-128,7
+128,7
@@
class Utils {
static basicFormatLog(prefixString = '') {
const date = new Date();
- return date.to
ISOString().substr(0, 19
) + prefixString;
+ return date.to
LocaleString(
) + prefixString;
}
static objectHasOwnProperty(object, property) {