Issue #25092: Fix datetime.strftime() failure when errno was already set to EINVAL.
2 files changed