Open jasonleenaylor opened 3 years ago
[ x ] Bug report [ ] Feature request [ ] Support request
Use the Datetime component and provide an initialViewDate string in DateTime format: e.g. 2021-02-15T13:29:00Z
When the picker is used it shows the correct Date and time
The current date is shown and 12:00 is shown for the time
https://codepen.io/jasonleenaylor/pen/WNoWbze
Setting initialViewDate to a Date constructed with the string works properly.
I'm Submitting a ...
Steps to Reproduce
Use the Datetime component and provide an initialViewDate string in DateTime format: e.g. 2021-02-15T13:29:00Z
Expected Results
When the picker is used it shows the correct Date and time
Actual Results
The current date is shown and 12:00 is shown for the time
Minimal Reproduction of the Problem
https://codepen.io/jasonleenaylor/pen/WNoWbze
Other Information (e.g. stacktraces, related issues, suggestions how to fix)
Setting initialViewDate to a Date constructed with the string works properly.