-
-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately
Description
Describe the bug
When using the Date field with a locale that is dd-mm-yyyy (en-GB) it does not allow you to input for example 31-12-2025. Blindly typing the date will result in 01-12-2025. I guess this has to do with the component trying to prevent you from inputing an invalid date, but does that adjustment too soon? Is this expected behavior.
Reproduction
Copy documentation example and set locale to "en-GB"
Logs
System Info
System:
OS: macOS 15.2
CPU: (8) arm64 Apple M1
Memory: 230.63 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.1 - /usr/local/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.9.2 - /usr/local/bin/npm
pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
bun: 1.3.0 - /opt/homebrew/bin/bun
Deno: 1.40.4 - /Users/maxime.welter/.deno/bin/deno
Browsers:
Chrome: 142.0.7444.176
Firefox: 145.0.1
Safari: 18.2
npmPackages:
@sveltejs/kit: ^2.49.0 => 2.49.0
bits-ui: ^2.14.3 => 2.14.3
svelte: ^5.45.2 => 5.45.2Severity
annoyance
Metadata
Metadata
Assignees
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately