predixdesignsystem / px-data-grid

Predix UI component which defines a data grid
https://www.predix-ui.com/#/elements/px-data-grid
Apache License 2.0
12 stars 20 forks source link

Fixed default timezone and date format settings not being applied when creating date filters #819

Closed evanjd closed 5 years ago

evanjd commented 5 years ago

Currently, date columns that are not explicitly configured with a source format and timezone cause the advanced filter dialog to break when applying a range filter.

I've modified the behaviour as follows:

I've also added some more tests to verify that the defaults apply correctly and that I haven't broken anything when source and output date formats are configured.

This resolves #790.

Before: px-data-grid-before

After: px-data-grid-after