Skip to content

Commit

Permalink
FOUR-19101 Filter Tags in Tasks and Cases Pages are displaying other …
Browse files Browse the repository at this point in the history
…value
  • Loading branch information
gproly committed Sep 11, 2024
1 parent 81eca76 commit 9ab4074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/common/advancedFilterStatusMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export default {
return filter.value;
},
isDatetime(value) {
let date = new Date(value);
return date instanceof Date && !isNaN(date);
let date = moment(value, "YYYY-MM-DDTHH:mm:ss.SSS[Z]", true);
return date.isValid();
},
formatDatetime(value) {
return moment(value)
Expand Down

0 comments on commit 9ab4074

Please sign in to comment.