I am trying to filter using a date range based on data attributes and it's not working. I can get the text based filtering to work but not the date range.
HTML Code:
<div class="notificationCard" data-details="Change"
data-filter-wftype="GVChangeReview"
data-filter-statusdate="6/21/2020" style="display: block;">
Some stuff
</div>
<div class="notificationCard" data-details="Review"
data-filter-wftype="GVChangeReview"
data-filter-statusdate="7/21/2020" style="display: block;">
Some stuff
</div>
<div class="notificationCard" data-details="Review"
data-filter-wftype="GVChangeReview"
data-filter-statusdate="9/10/2020" style="display: block;">
Some stuff
</div>
And JavaScript code is
var $notificationCards = $('.notificationCard');
$notificationCards.filter("[data-filter-statusdate='5/20/2020'],[data-filter-statusdate='7/22/2020']").show();
I was hoping to have only first two div's show up but none of them is showing up. Can someone please tell me what I am doing wrong here.
Here's a Fiddle