Skip to content

Commit

Permalink
Merge pull request arrow-py#521 from Syeberman/smontanaro-ZZZ
Browse files Browse the repository at this point in the history
Include ZZZ in format example as a hint
  • Loading branch information
Sye van der Veen authored Mar 11, 2018
2 parents d81545d + 65d5d74 commit a667e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def get(self, *args, **kwargs):
**Two** arguments, both ``str``, to parse the first according to the format of the second::
>>> arrow.get('2013-05-05 12:30:45', 'YYYY-MM-DD HH:mm:ss')
<Arrow [2013-05-05T12:30:45+00:00]>
>>> arrow.get('2013-05-05 12:30:45 America/Chicago', 'YYYY-MM-DD HH:mm:ss ZZZ')
<Arrow [2013-05-05T12:30:45-05:00]>
**Two** arguments, first a ``str`` to parse and second a ``list`` of formats to try::
Expand Down

0 comments on commit a667e11

Please sign in to comment.