Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 8018:67922fd17454
Fix incorrect timezone of -0000. Use GMT instead. Error found using redbot
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 01 Jun 2024 03:52:02 -0400 |
| parents | f47b186a2ad9 |
| children | 16cc72cd9c17 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Thu May 30 20:03:14 2024 -0400 +++ b/roundup/cgi/client.py Sat Jun 01 03:52:02 2024 -0400 @@ -1984,7 +1984,8 @@ """ # spit out headers - self.additional_headers['Last-Modified'] = email.utils.formatdate(lmt) + self.additional_headers['Last-Modified'] = email.utils.formatdate(lmt, + usegmt=True) ims = None # see if there's an if-modified-since...
