diff --git a/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts b/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts index 07a4644..891189e 100644 --- a/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts +++ b/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts @@ -12,7 +12,7 @@ export const changedCookieHeaderValue = ( return [ `${name}=${value}`, 'path=/', - expires ? `Expires=${expires.toISOString()}; ` : undefined, + expires ? `Expires=${expires}; ` : undefined, 'samesite=none', 'secure', 'httponly',