build.webkit.org/dashboard should use ISO dates in Trac URLs
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Nov 2015 23:39:42 +0000 (23:39 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Nov 2015 23:39:42 +0000 (23:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150855

Reviewed by Darin Adler.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
(Trac.prototype._xmlTimelineURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js
Tools/ChangeLog

index 77bad79d434846d9f69f579664b44650e86f1e54..a1dd28fa2750ec2933cb8bfea8dc045c3a1526cb 100644 (file)
@@ -83,7 +83,7 @@ Trac.prototype = {
         var toDay = new Date(toDate.getFullYear(), toDate.getMonth(), toDate.getDate());
 
         return this.baseURL + "timeline?changeset=on&format=rss&max=0" +
-            "&from=" +  (toDay.getMonth() + 1) + "%2F" + toDay.getDate() + "%2F" + (toDay.getFullYear() % 100) +
+            "&from=" +  toDay.toISOString().slice(0, 10) +
             "&daysback=" + ((toDay - fromDay) / 1000 / 60 / 60 / 24);
     },
 
index 6057ad6af46e290e6bed0cfc8609fa42db2fadb9..7aaf2bebec47ea9d30c5dfaeca6f627a300425ff 100644 (file)
@@ -1,3 +1,13 @@
+2015-11-03  Alexey Proskuryakov  <ap@apple.com>
+
+        build.webkit.org/dashboard should use ISO dates in Trac URLs
+        https://bugs.webkit.org/show_bug.cgi?id=150855
+
+        Reviewed by Darin Adler.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
+        (Trac.prototype._xmlTimelineURL):
+
 2015-11-03  Said Abou-Hallawa  <sabouhallawa@apple.com>
 
         Unreviewed, add myself to the SVG watchlist.