How to construct a timedelta object from a simple string
Asked 2011-01-07T17:03:48.943
177
I'm writing a function that needs to parse string to a timedelta. The user must enter something like "32m" or "2h32m", or even "4:13" or "5hr34m56s"... Is there a library or something that has this sort of thing already implemented?