TimeZone: Editing a date column with timestamps+seconds triggers an empty state in calendar picker
Closed this issue · 2 comments
Description
When you go into edit mode, a date column that contains seconds and timezone doesn't retain its value.
Note:
- Tested this without seconds and the calendar picker retains its value when you go into edit mode.
This is reproducible in the demo with a slight tweak, change the display format and dateFormat to include :ss (In addition to the current HH:mm).
Version
Data-grid:origin/feature/timezones
Browser: Chrome
Screenshots
After investigating further, I've found this issue to be invalid. The issue here is that you've specified the dateFormat.format
to include seconds (ss
) but the actual data does not include seconds. The actual data format must match the dateFormat.format
, that is the entire point of the dateFormat.format
property.
Closing this, works as expected.
Thanks @drewharvey . Verified adding seconds to <dateFormat>
as well as the actual data resolves the issue.