Fix bug with grid date filters

This commit is contained in:
Lance Edgar 2024-05-08 20:50:54 -05:00
parent b65b514270
commit c43deb1307

View file

@ -177,6 +177,9 @@
if (date === null) { if (date === null) {
return null return null
} }
if (typeof(date) == 'string') {
return date
}
// just need to convert to simple ISO date format here, seems // just need to convert to simple ISO date format here, seems
// like there should be a more obvious way to do that? // like there should be a more obvious way to do that?
var year = date.getFullYear() var year = date.getFullYear()