remove date-fns-tz and format from events component

main
Ryan Moon 2023-08-23 17:37:16 -04:00
parent fcc9274ead
commit 174f88002a
3 changed files with 1 additions and 17 deletions

View File

@ -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)

15
package-lock.json generated
View File

@ -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",

View File

@ -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"
}