bug with CF version == 0 not using gregorian calendar