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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user