Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1574)

Unified Diff: Source/devtools/front_end/components/CookiesTable.js

Issue 300103007: DevTools: Use toISOString instead of toGMTString for dates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/resources/DirectoryContentView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/CookiesTable.js
diff --git a/Source/devtools/front_end/components/CookiesTable.js b/Source/devtools/front_end/components/CookiesTable.js
index 808fe2deb490c6eb2b7d35fbb45aa1181f7d5e5b..a829d0e5f313842cf2e2af616448247b3e69f68c 100644
--- a/Source/devtools/front_end/components/CookiesTable.js
+++ b/Source/devtools/front_end/components/CookiesTable.js
@@ -251,7 +251,7 @@ WebInspector.CookiesTable.prototype = {
if (cookie.maxAge())
data.expires = Number.secondsToString(parseInt(cookie.maxAge(), 10));
else if (cookie.expires())
- data.expires = new Date(cookie.expires()).toGMTString();
+ data.expires = new Date(cookie.expires()).toISOString();
else
data.expires = WebInspector.UIString("Session");
}
« no previous file with comments | « no previous file | Source/devtools/front_end/resources/DirectoryContentView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698