PyBites-Open-Source / pybites-tools

A repo to commit common Python utility scripts and snippets
MIT License
18 stars 8 forks source link

Worldclock corrections and argparse #18

Closed glutenfreepy closed 3 years ago

glutenfreepy commented 3 years ago

Good Morning! This PR makes corrections to initial PR of worldclock. We also add argparse for converting a given time in a given timezone. :)
You'll see that I use -hr, -min, and -tz for argparse. I was hoping to use -h, -m and -t for the shortnames, but -h clashes with the 'help' built-in arg. Let me know if you think there's a better way to do this though. image

Please let me know what you think. Thank you, Ed

glutenfreepy commented 3 years ago

These issues are addressed in forthcoming PR. Thanks!

bbelderbos commented 3 years ago

Thanks @glutenfreepy so we close this PR as the other one seems to have everything, right?

glutenfreepy commented 3 years ago

correct! thank you.

On Mon, Oct 18, 2021 at 4:59 AM Bob Belderbos @.***> wrote:

Thanks @glutenfreepy https://github.com/glutenfreepy so we close this PR as the other one seems to have everything, right?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PyBites-Open-Source/pybites-tools/pull/18#issuecomment-945691276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGQRL5DF5B6535H4QAD4WV3UHQDZXANCNFSM5F23FERQ .