Fix issue #8: Only compare dates in work planning