summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/http.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/utils/http.py b/django/utils/http.py
index d3c70f1209..1c3b0039b5 100644
--- a/django/utils/http.py
+++ b/django/utils/http.py
@@ -118,8 +118,7 @@ def parse_http_date(date):
The three formats allowed by the RFC are accepted, even if only the first
one is still in widespread use.
- Returns an floating point number expressed in seconds since the epoch, in
- UTC.
+ Returns an integer expressed in seconds since the epoch, in UTC.
"""
# emails.Util.parsedate does the job for RFC1123 dates; unfortunately
# RFC2616 makes it mandatory to support RFC850 dates too. So we roll