modified checks to correctly handle date comparison
Merge branch 'master' of https://github.com/uwegeercken/jare