Fix date-fns import

This commit is contained in:
trading_peter 2025-03-24 10:42:07 +01:00
parent f5377e83ad
commit 7fb1757174
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-date-input",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "tp-date-input.js",
"scripts": {

View File

@ -10,7 +10,7 @@ import { EventHelpers } from '@tp/helpers/event-helpers.js';
import { FormElement } from '@tp/helpers/form-element.js';
import { LitElement, html, css } from 'lit';
import { format, parse, parseISO, isAfter, isValid, endOfDay } from 'date-fns/esm';
import { zonedTimeToUtc } from 'date-fns-tz/esm';
import { zonedTimeToUtc } from 'date-fns-tz';
import { closest } from '@tp/helpers';
class TpDateInput extends EventHelpers(ControlState(FormElement(LitElement))) {