[DataGrid] Date operators not working with date-time values #1710
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
Current Behavior 😯
If the value of a
date
ordateTime
column has the hour and minutes set, most of the filter operators don't work. The only operators that return results are "is on or after/before", but they don't match with values that have the exact date ("is" part).Expected Behavior 🤔
Filter operators in
date
columns should consider only the date components (day, month and year). IndateTime
columns, the operator should compare the date components and also the hour and minutes components, ignoring the seconds.Steps to Reproduce 🕹
Steps:
Context 🔦
Noticed it while working in #1708.
The text was updated successfully, but these errors were encountered: