CS
Invalid date input caused exceptions (#1162)