For dates i think we might want to compare the milliseconds instead of the date objects to ignore time zones