changed calendar parsing