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 debug_toolbar/static/debug_toolbar/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ const djdt = {
if (typeof options.expires === "number") {
const days = options.expires;
const expires = new Date();
expires.setDate(expires.setDate() + days);
expires.setDate(expires.getDate() + days);
options.expires = expires;
}

Expand Down
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Pending
* Clarified configuration documentation about ``SHOW_TOOLBAR_CALLBACK``
needing to respect ``django.conf.settings.DEBUG`` to match
``debug_toolbar_urls``.
* Fixed cookie ``expires`` calculation in ``djdt.cookie.set``.

6.3.0 (2026-04-01)
------------------
Expand Down
Loading