From 1619a558022dd4bd6515f506840d233b7c27d7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonel=20C=C3=A2mara?= Date: Tue, 12 Mar 2019 00:02:11 +0000 Subject: [PATCH] Fixes #2143 --- gluon/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/utils.py b/gluon/utils.py index bbaba4e5..e4771d9c 100644 --- a/gluon/utils.py +++ b/gluon/utils.py @@ -411,7 +411,7 @@ def unlocalised_http_header_date(data): "12": "Dec", }.get(time.strftime("%m", data)) - year_and_time = time.strftime("%Y %H:%M:%S GMT") + year_and_time = time.strftime("%Y %H:%M:%S GMT", data) return "{}, {} {} {}".format( short_weekday,