We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5acc46b commit 28098bfCopy full SHA for 28098bf
src/lib/components/Table/TableFilter.svelte
@@ -30,7 +30,9 @@
30
type = typeof (toFilterableValueFn ? toFilterableValueFn(item) : item);
31
32
if (type === 'object') {
33
- if (item instanceof Date) {
+ if (toFilterableValueFn && toFilterableValueFn(item) instanceof Date) {
34
+ isDate = true;
35
+ } else if (item instanceof Date) {
36
isDate = true;
37
}
38
0 commit comments