allow date comparisons