Skip to content

Commit

Permalink
Try setting localtime to False
Browse files Browse the repository at this point in the history
  • Loading branch information
pypt committed Jul 17, 2019
1 parent 0fb2075 commit dfabfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class TestSitemapTree(TestCase):
TEST_DATE_STR_ISO8601 = TEST_DATE_DATETIME.isoformat()
"""Test string date formatted as ISO 8601 (for XML and Atom 0.3 / 1.0 sitemaps)."""

TEST_DATE_STR_RFC2822 = formatdate(float(TEST_DATE_DATETIME.strftime('%s')), localtime=True)
TEST_DATE_STR_RFC2822 = formatdate(float(TEST_DATE_DATETIME.strftime('%s')))
"""Test string date formatted as RFC 2822 (for RSS 2.0 sitemaps)."""

TEST_PUBLICATION_NAME = 'Test publication'
Expand Down

0 comments on commit dfabfd0

Please sign in to comment.