feat: backend side of timezone convert, new route created for using luxon to convert timezones

This commit is contained in:
theoleuthardt 2025-02-20 22:03:51 +01:00
parent ab601b53fe
commit 2d53cb0017
4 changed files with 69 additions and 2 deletions

View file

@ -15,9 +15,11 @@
"fastify": "^5.2.1",
"fastify-cors": "^6.0.3",
"fastify-multipart": "^5.3.1",
"libreoffice-convert": "^1.6.0"
"libreoffice-convert": "^1.6.0",
"luxon": "^3.5.0"
},
"devDependencies": {
"@types/luxon": "^3.4.2",
"@types/node": "^22.13.4",
"prettier": "3.5.1",
"ts-node": "^10.9.2",
@ -263,6 +265,13 @@
"dev": true,
"license": "MIT"
},
"node_modules/@types/luxon": {
"version": "3.4.2",
"resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.4.2.tgz",
"integrity": "sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/node": {
"version": "22.13.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.4.tgz",
@ -682,6 +691,15 @@
"set-cookie-parser": "^2.6.0"
}
},
"node_modules/luxon": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz",
"integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==",
"license": "MIT",
"engines": {
"node": ">=12"
}
},
"node_modules/make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",