[COOK-4175] Allows use of the dateformat parameter.