assert_dtc_format() is an internal helper function aiding with the checking
of the .format parameter of create_iso8601().
assert_dtc_format(.format)This function throws an error if .format is not either:
A character vector of formats permitted by assert_dtc_fmt();
A list of character vectors of formats permitted by assert_dtc_fmt().
Otherwise, it returns .format invisibly.
The argument of create_iso8601()'s .format parameter.