Migrate to luxon. Fixes wrong weekday to date bug as well.

This commit is contained in:
2025-06-23 10:33:37 +02:00
parent 7ddca43a01
commit 9b793d47d8
2 changed files with 44 additions and 56 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-date-picker",
"version": "2.3.0",
"version": "3.0.0",
"description": "",
"main": "tp-date-picker.js",
"scripts": {
@ -13,8 +13,7 @@
"author": "trading_peter",
"license": "Apache-2.0",
"dependencies": {
"@date-fns/utc": "^2.1.0",
"date-fns": "^4.0.0",
"luxon": "^3.6.1",
"lit": "^2.2.0"
}
}