Handles empty date strings