fix time/date core