correct calendar dates