diff --git a/Userland/Applications/Browser/CookieJar.cpp b/Userland/Applications/Browser/CookieJar.cpp index be7fbcdae1a..9ddbc9fce9d 100644 --- a/Userland/Applications/Browser/CookieJar.cpp +++ b/Userland/Applications/Browser/CookieJar.cpp @@ -26,7 +26,6 @@ #include "CookieJar.h" #include -#include #include #include #include @@ -180,7 +179,7 @@ Optional CookieJar::parse_cookie(const String& cookie_string, String def // 6. The cookie-name is the name string, and the cookie-value is the value string. Cookie cookie { name, value }; - cookie.expiry_time = Core::DateTime::create(AK::NumericLimits::max()); + cookie.expiry_time = Core::DateTime::create(9999, 12, 31, 23, 59, 59); cookie.domain = move(default_domain); cookie.path = move(default_path);