Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system/Cookie/CookieInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ interface CookieInterface
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date
* @see https://tools.ietf.org/html/rfc7231#section-7.1.1.2
*/
public const EXPIRES_FORMAT = DATE_RFC7231;
public const EXPIRES_FORMAT = 'D, d M Y H:i:s T';

/**
* Returns a unique identifier for the cookie consisting
Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/changelogs/v4.7.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Message Changes
Changes
*******

- **Cookie:** The ``CookieInterface::EXPIRES_FORMAT`` has been changed to ``D, d M Y H:i:s \G\M\T`` to follow the recommended format in RFC 7231.
- **Cookie:** The ``CookieInterface::EXPIRES_FORMAT`` has been changed to ``D, d M Y H:i:s T`` to follow the recommended format in RFC 7231.
- **Format:** Added support for configuring ``json_encode()`` maximum depth via ``Config\Format::$jsonEncodeDepth``.
- **Paths:** Added support for changing the location of the ``.env`` file via the ``Paths::$envDirectory`` property.

Expand Down
Loading