Turns out iso 8601 is a lot larger spec than people realize. "Perfect is the enemy of the good," prevented this function's inclusion for almost a decade, sigh. This one handles the majority usecase and can be extended later, if need be.
AndrewOMartin 12 days ago [-]
You are the nano-hero the Python community deserves right now.
mixmastamyk 12 days ago [-]
*Sung to the tune of "Juke Box Hero" from Foreigner.