adds validation for date in redmine leave charts