[Checkins] [zopefoundation/zope.session] 10e9f1: Fix test that fails on any timezone east of GMT

GitHub noreply at github.com
Wed May 22 13:15:08 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.session
  Commit: 10e9f13ff1ecd369e9fcd4c6798ba10db2fdd028
      https://github.com/zopefoundation/zope.session/commit/10e9f13ff1ecd369e9fcd4c6798ba10db2fdd028
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-05-22 (Wed, 22 May 2013)

  Changed paths:
    M src/zope/session/http.py

  Log Message:
  -----------
  Fix test that fails on any timezone east of GMT

The cookie expiration date is in GMT, and since email.utils.parsedate()
doesn't do timezone conversions, we should compare the result with a
date based on UTC.





More information about the checkins mailing list