https://github.com/adafruit/circuitpython/blob/010232574eda7612fc2d37e3ca42a4d936d9737e/shared-bindings/time/__init__.c#L282 If I'm reading the code correctly `len` should be passed into the error message as well as `9`. FWIW my C skills are very rusty.