Skip to content

updated parse() docstring to reflect tzinfos integer offset units and example #458

Merged
pganssle merged 2 commits into
dateutil:masterfrom
abrugh:fix-parse-docs
Sep 14, 2017
Merged

updated parse() docstring to reflect tzinfos integer offset units and example #458
pganssle merged 2 commits into
dateutil:masterfrom
abrugh:fix-parse-docs

Conversation

@abrugh

@abrugh abrugh commented Sep 12, 2017

Copy link
Copy Markdown
Contributor

Doc says UTC offset is in minutes but the example snippet uses seconds. Actually trying it would seem to confirm seconds is correct.

The example snippet also shows BRST to be -3 hrs, https://www.timeanddate.com/time/zones/brst shows it to be -2 hours so i changed it to be -7200

Alexander Brugh added 2 commits September 12, 2017 14:45
…d BRST example to -2 hrs (-7200) because i can't find any docs saying its -3
@pganssle

Copy link
Copy Markdown
Member

I wonder why it was 3 hours. Maybe Brazil switched their base time zone?

@pganssle pganssle added this to the 2.7.0 milestone Sep 14, 2017
@pganssle
pganssle merged commit dc27630 into dateutil:master Sep 14, 2017
@pganssle pganssle mentioned this pull request Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants