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 option is missing from the Vanillajs version, unfortunately. If you don't want to one by one specify the format (like the non-US ISO format) in all of your Datepicker constructors, there's no other option.
It's not possible to use setOptions() because it's called after construction is done, and the date will be parsed in a bad way initially. setOptions() will reformat that bad date to the nicer ISO date.
Overriding the en locale doesn't work
The text was updated successfully, but these errors were encountered:
In Bootstrap datepicker you could set up defaults before initialising an instance in the following way:
This option is missing from the Vanillajs version, unfortunately. If you don't want to one by one specify the format (like the non-US ISO format) in all of your Datepicker constructors, there's no other option.
setOptions()
because it's called after construction is done, and the date will be parsed in a bad way initially. setOptions() will reformat that bad date to the nicer ISO date.en
locale doesn't workThe text was updated successfully, but these errors were encountered: