wroberts / pytimeparse

A small Python module to parse various kinds of time expressions.
MIT License
287 stars 39 forks source link

Accept "granularity" argument #4

Closed catherinedevlin closed 10 years ago

catherinedevlin commented 10 years ago

My data sets actually include time periods like "1:30" meaning 1 h 30 m, not 1 m 30 sec. I suggest a "granularity='minutes' " argument that can accomodate that.