Make the datepicker UTC only and use the UTC helper package by date-fns

This commit is contained in:
2025-01-02 22:15:04 +01:00
parent 5b881b7971
commit bb638c7e8a
3 changed files with 100 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-date-picker",
"version": "1.0.0",
"version": "2.0.0",
"description": "",
"main": "tp-date-picker.js",
"scripts": {
@ -13,8 +13,8 @@
"author": "trading_peter",
"license": "Apache-2.0",
"dependencies": {
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.3",
"@date-fns/utc": "^2.1.0",
"date-fns": "^4.0.0",
"lit": "^2.2.0"
}
}