1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #28965 -- Deprecated unused django.utils.http.cookie_date().

This commit is contained in:
Tim Graham
2017-12-30 14:19:43 -05:00
parent 0afffae4ec
commit ab7f4c3306
5 changed files with 20 additions and 1 deletions

View File

@@ -682,6 +682,10 @@ escaping HTML.
.. function:: cookie_date(epoch_seconds=None)
.. deprecated:: 2.1
Use :func:`http_date` instead, which follows the latest RFC.
Formats the time to ensure compatibility with Netscape's cookie standard.
Accepts a floating point number expressed in seconds since the epoch in