Fix dates in document