fix #3335: calendar time recognized wrongly