calendar time fix