closes #21 (date format validation)