Compat with older and newer versions of parsedatetime