There is currently no inverse to the isoformat() function. If you know you've got an iso8601 date, the logic is actually much simpler than the current parser logic, but because isoformat() outputs a format not compatible with even Python 3.6's strptime() (shamefully), it's some pretty low hanging fruit.
There is currently no inverse to the
isoformat()function. If you know you've got an iso8601 date, the logic is actually much simpler than the current parser logic, but becauseisoformat()outputs a format not compatible with even Python 3.6'sstrptime()(shamefully), it's some pretty low hanging fruit.