PyBites-Open-Source / pybites-tools

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

is worldclock intended to be used with hour + minute only? #44

Open bbelderbos opened 1 year ago

bbelderbos commented 1 year ago

Seems year, month and day are optional args but when you leave them off only using hour + minute, then this if never becomes true:

        if (
            hour in HOURS_IN_DAY
            and minute in MINUTES_IN_HOUR
            and month in MONTHS_IN_YEAR
            and day in MAX_DAYS_IN_MONTH
        ):

Is that ok @glutenfreepy ?