fix for publish and promo date while saving cmsdocuments