calendar test date fix