hack for dates exceeding cshapes max date