jazzband / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.46k stars 240 forks source link

Support missing leading zero on time stamps #456

Open KennethNielsen opened 2 years ago

KennethNielsen commented 2 years ago

Hi Watson devs and once again thanks for one of my favorite tools.

I'm routinely bitten by the fact that timestamps are not accepted if they are missing the leading 0 in e.g. 08:23. I think it should be reasonably straight forward to implement a fix for this and I will happily author a PR, but before doing that I'd like to hear if you are open to the idea, or if it has already been rejected for some reason.

Regards Kenneth

bobschi commented 2 years ago

This is also of interest to me and I'd be willing to contribute time and energy to make this happen. :)

k4nar commented 2 years ago

It makes perfect sense, go for it :smile: .

KennethNielsen commented 2 years ago

@k4nar great.

@bobschi given limited spare time I don't want to accidentally double effort this. Did you already start working on this and/or do you want to? I'm asking because, I'm not attached to doing the implementation myself, so if you want it, feel free. Let me know.