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
build(deps): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 458fd93065e2bd08fec1e06e7610196c7d9383f0..ae27035ff079c028f30bee9884d5b2de5521c18a 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-240,7
+240,7
@@
const deepClone = <I extends CloneableData, O extends CloneableData = I>(
return clone as O
}
if (value instanceof Date) {
- return new Date(value.
valueOf
()) as O
+ return new Date(value.
getTime
()) as O
}
if (typeof value !== 'object' || value === null) {
return value as unknown as O