You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is up to Node, and is going to depend on which locales they ship by default. If you run new Date().toLocaleDateString('en-CA') in the Node REPL, you'll see the same results. I'm not sure how one loads new locales at runtime (as opposed to needing to recompile Node with additional locales built in), but this is unrelated to SvelteKit.
Describe the bug
new Date().toLocaleDateString('en-CA');
returnsM/DD/YYYY
in SSR, instead ofYYYY-MM-DD
.Reproduction
# server 4/10/2023
# browser 2023-04-10 2023-04-10
Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: