18 Commits

Author SHA1 Message Date
pk c3829a5476 Bump version 2026-06-11 07:13:47 +02:00
pk 046a3c1d32 Remove console.log 2026-06-11 07:13:33 +02:00
pk b32fd403ec fix(tp-date-input): validate correctly when change event hasn't fired yet
validate() relied on this.value, which is only set by _inputChanged on
the change event. Submitting via Enter while focus is still in an input
field skips that event, leaving this.value undefined and causing valid
dates to fail validation.

Introduce _valueFromInputs() as the single parsing source: it reads the
three sub-inputs directly and returns a UTC-midnight DateTime.
validate()
now falls back to it when this.value is not set. _inputChanged is
refactored to call _valueFromInputs() as well, removing the duplicated
format-mapping logic.
2026-06-10 22:42:27 +02:00
pk e189cb3b73 Bump version 2.1.1 2026-04-10 09:52:57 +02:00
pk 8f14196418 Make sure component always returns midnight utc 2026-04-10 09:52:43 +02:00
pk acf1728cb9 timeZone property sets timezone for display. Value is always expected to be UTC (in- and outbound) 2026-03-24 11:56:00 +01:00
pk 722e674526 Make sure value is always UTC and timeZone is applied to the user input if provided. 2026-03-24 11:45:09 +01:00
pk a777e585e8 Bump version 2.0.2 2025-06-27 10:56:02 +02:00
pk 56d5d3ab1c Update dependencies 2025-06-27 10:55:49 +02:00
pk 1e5a4bc3d3 Bump version 2.0.1 2025-06-27 10:55:02 +02:00
pk 3641de7ebd Parsing part was not migrated to luxon 2025-06-27 10:54:39 +02:00
pk 9fc38c42e8 Migrate to luxon 2.0.0 2025-06-27 10:29:11 +02:00
pk 7fb1757174 Fix date-fns import 1.1.1 2025-03-24 10:42:07 +01:00
pk f5377e83ad Some fixes 2025-02-06 22:30:13 +01:00
pk b55e71d144 Add part for inner inputs 1.0.0 2023-09-16 22:32:00 +02:00
pk 49025783ed Lot of fixes 2023-01-27 12:46:53 +01:00
pk 774b682936 A somewhat working version 2022-11-15 20:22:58 +01:00
tp-elements 5cd4c8e367 Initial commit 2022-04-03 19:21:01 +02:00