remove date-fns-tz and format from events component
parent
fcc9274ead
commit
174f88002a
|
@ -6,7 +6,7 @@
|
|||
.limit(3)
|
||||
.find()
|
||||
|
||||
import { format, parseISO, addDays, isPast } from "date-fns";
|
||||
import { parseISO, addDays, isPast } from "date-fns";
|
||||
|
||||
for (let i = 0; i < events.length; i++) {
|
||||
let date = addDays(parseISO(events[i].date), 1)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"date-fns": "^2.30.0",
|
||||
"date-fns-tz": "^2.0.0",
|
||||
"sass": "^1.63.6",
|
||||
"vee-validate": "^4.10.8"
|
||||
},
|
||||
|
@ -4904,14 +4903,6 @@
|
|||
"url": "https://opencollective.com/date-fns"
|
||||
}
|
||||
},
|
||||
"node_modules/date-fns-tz": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-2.0.0.tgz",
|
||||
"integrity": "sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==",
|
||||
"peerDependencies": {
|
||||
"date-fns": ">=2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||
|
@ -17027,12 +17018,6 @@
|
|||
"@babel/runtime": "^7.21.0"
|
||||
}
|
||||
},
|
||||
"date-fns-tz": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-2.0.0.tgz",
|
||||
"integrity": "sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==",
|
||||
"requires": {}
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"date-fns": "^2.30.0",
|
||||
"date-fns-tz": "^2.0.0",
|
||||
"sass": "^1.63.6",
|
||||
"vee-validate": "^4.10.8"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue