@alex Yes, prior to 3.11, we were only accepting formats that could be generated from datetime.isoformat
. In 3.11, we added the ability to parse most valid ISO 8601 formats, including many that are acceptable only “by agreement”.
I don’t recall if we had a principled reason for choosing truncation rather than rounding.
@pganssle TBC it's an "oo nice" TIL. The truncation bit was more a footnote. Thank you for adding it.