repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
README.md: fix sections hierarchy
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 6d37271ff6382f06c18711aed2e0852ddae61f0c..7485b14f3162e89fbc75456f8228995c54170d04 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-122,8
+122,7
@@
export default class Utils {
}
static logPrefix(prefixString = ''): string {
- const date = new Date();
- return date.toLocaleString() + prefixString;
+ return new Date().toLocaleString() + prefixString;
}
static cloneObject<T>(object: T): T {