wroberts / pytimeparse

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

Feature Request: Days-HH:MM:SS support #24

Open Wildcarde opened 4 years ago

Wildcarde commented 4 years ago

I'm currently working on some metric work coming out of the job scheduler 'slurm', it records elapsed time as:

1-04:18:35  ## multi day elapsed time
12:25:02 ## single day time

I'd be great to be able to handle this directly instead of having a pre-check.