Fix date comparisons
Merge pull request #16 from shootaroo/fix-equal-date

Fix date comparisons