Bugfix: invalid time value toISOString (#708)
Bugfix: invalid time value toISOString (#708)

* fix: force two digits per position in date values

This prevents dates like 2022-4-23 and filling the missing digit with a 0, like 2022-04-23.

* fix: add clampDateTime to prevent "invalid time value" error (#539)

Introduce a new clamp function for date-time strings to bring the two digit enforcement to the time part and stop the removing of the time part done by the clampDate method.
json-schema-faker/json-schema-faker,json-schema-faker/json-schema-faker