Skip to content

Commit a3de04d

Browse files
committed
Document that feedparser returns datetimes in UTC
Fixes kurtmckee#51
1 parent 39a7157 commit a3de04d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ coming in the next release:
77
* Update the default User-Agent name and URL
88
* Catch EOFError when using gzip in Python 3.4
99
* Issue 20: Support Middle European (Summer) Time timezones
10+
* Issue 51: Document that datetimes are returned in UTC
1011

1112
5.2.1 - July 23, 2015
1213
* Fix #22 (pip package keeps upgrading all the time)

docs/date-parsing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Date Parsing
66
Different feed types and versions use wildly different date formats.
77
:program:`Universal Feed Parser` will attempt to auto-detect the date format
88
used in any date element, and parse it into a standard :program:`Python`
9-
9-tuple, as documented in `the Python time module <http://docs.python.org/lib/module-time.html>`_.
9+
9-tuple in UTC, as documented in
10+
`the Python time module <http://docs.python.org/lib/module-time.html>`_.
1011

1112
The following elements are parsed as dates:
1213

0 commit comments

Comments
 (0)