wroberts / pytimeparse

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

Subsecond precision #17

Open mrocklin opened 6 years ago

mrocklin commented 6 years ago

Cool project. I would have found it a good fit for my work but I also needed sub-second precision.

>>> import pytimeparse
>>> pytimeparse.parse('1ms')
>>> 

I thought I'd raise an issue here as a feature request.

kevinashaw commented 6 years ago

Agreed. I need millisecond precision. Here is the format that I need: '08m48s571'.

markusressel commented 5 years ago

Just fyi, the README states two examples containing milliseconds: 2:04:13:02.266 2 days, 4:13:02.266