Skip to content

Calculate time_zone from lon.#6

Open
timcera wants to merge 1 commit intokristianfoerster:masterfrom
timcera:timezone
Open

Calculate time_zone from lon.#6
timcera wants to merge 1 commit intokristianfoerster:masterfrom
timcera:timezone

Conversation

@timcera
Copy link
Contributor

@timcera timcera commented Dec 3, 2019

Calculate time_zone from lon with "round(lon/15.0)".
Normalize "timezone" to "time_zone".
Where "time_zone" is positional argument, make keyword = None

Suggest even dropping "time_zone" altogether since I can't see a reason why you would want a "time_zone" different from what is calculated from "lon". However, dropping "time_zone" would mean changing function signature, whereas converting to a keyword is backwards compatible.

Calculate time_zone from lon with "round(lon/15.0)".
Normalize "timezone" to "time_zone".
Where "time_zone" is positional argument, make keyword = None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant