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
By default, the Datepicker emits a Date object with the time set to 00:00 local time. In some cases it may be desirable to select dates dates in different time zone offset.
The API for this could look something like this:
<!-- Explicitly select dates in CET time --><gds-datepickerutc-offset="+1"
></gds-datepicker>
I think it will still make sense to always default to setting the hours and minutes of the Date object to 00:00. If you need a different time you can always just add xx:xx to that date.
Update: Time component should be set to 12:00 by default.
By default, the Datepicker emits a
Date
object with the time set to 00:00 local time. In some cases it may be desirable to select dates dates in different time zone offset.The API for this could look something like this:
I think it will still make sense to always default to setting the hours and minutes of theDate
object to 00:00. If you need a different time you can always just add xx:xx to that date.Update: Time component should be set to 12:00 by default.
Related to #1227
The text was updated successfully, but these errors were encountered: