summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/test_view.js
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 06:04:19 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 06:04:19 +0000
commit1807715381eec539fcdf8b6f5e06053e7de1c53f (patch)
treefc11f1e8297750c5f8895bc53e79bcd34b078c92 /chrome/browser/resources/net_internals/test_view.js
parentb3095c3961e42d0c1a77e222cc9d61e8c1670dff (diff)
downloadchromium_src-1807715381eec539fcdf8b6f5e06053e7de1c53f.zip
chromium_src-1807715381eec539fcdf8b6f5e06053e7de1c53f.tar.gz
chromium_src-1807715381eec539fcdf8b6f5e06053e7de1c53f.tar.bz2
Use a more compact date string throughout about:net-internals.
Previously was using Date.toLocaleString(), however this results in some very long and redundant strings, which work poorly inside of tables. BUG=115964 Review URL: http://codereview.chromium.org/9483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/net_internals/test_view.js')
-rw-r--r--chrome/browser/resources/net_internals/test_view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/net_internals/test_view.js b/chrome/browser/resources/net_internals/test_view.js
index e3866d2..e8d2645 100644
--- a/chrome/browser/resources/net_internals/test_view.js
+++ b/chrome/browser/resources/net_internals/test_view.js
@@ -65,8 +65,8 @@ var TestView = (function() {
this.summaryDiv_.innerHTML = '';
var p = addNode(this.summaryDiv_, 'p');
- addTextNode(p, 'Started connection test suite suite on ' +
- (new Date()).toLocaleString());
+ addTextNode(p, 'Started connection test suite suite on ');
+ timeutil.addNodeWithDate(p, new Date());
// Add a table that will hold the individual test results.
var table = addNode(this.summaryDiv_, 'table');