Apply calendar patch correctly