Title: [97978] trunk/Source/WebCore
- Revision
- 97978
- Author
- loi...@chromium.org
- Date
- 2011-10-20 07:55:15 -0700 (Thu, 20 Oct 2011)
Log Message
Unreviewed fix for Date.prototype.toISO8601Compact.
It was generated wrong string for the dates with no leading zeros like 2011.11.11.
* inspector/front-end/utilities.js:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (97977 => 97978)
--- trunk/Source/WebCore/ChangeLog 2011-10-20 14:51:48 UTC (rev 97977)
+++ trunk/Source/WebCore/ChangeLog 2011-10-20 14:55:15 UTC (rev 97978)
@@ -1,3 +1,10 @@
+2011-10-20 Ilya Tikhonovsky <loi...@chromium.org>
+
+ Unreviewed fix for Date.prototype.toISO8601Compact.
+ It was generated wrong string for the dates with no leading zeros like 2011.11.11.
+
+ * inspector/front-end/utilities.js:
+
2011-10-20 Pavel Feldman <pfeld...@google.com>
Web Inspector: minor CPU profiling UX improvements
Modified: trunk/Source/WebCore/inspector/front-end/utilities.js (97977 => 97978)
--- trunk/Source/WebCore/inspector/front-end/utilities.js 2011-10-20 14:51:48 UTC (rev 97977)
+++ trunk/Source/WebCore/inspector/front-end/utilities.js 2011-10-20 14:55:15 UTC (rev 97978)
@@ -540,7 +540,7 @@
{
function leadZero(x)
{
- return x > 9 ? x : '0' + x
+ return x > 9 ? '' + x : '0' + x
}
return this.getFullYear() +
leadZero(this.getMonth() + 1) +
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes