Bug 1154228 - Remove unnecessary semicolon in toLocalTimeISOString in TelemetrySession.jsm. r=gfritzsche,a=lmandel
authorTooru Fujisawa <arai_a@mac.com>
Tue, 14 Apr 2015 21:45:05 +0900
changeset 265759 9c3834da969ea2513ff8a200b30e8b8e8f3d68f6
parent 265758 daeddcbe4e41803be0cbe7e8ab594741efa8c289
child 265760 3b81354f6a5b2419d7762f2aba4c5179ee8184c3
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfritzsche, lmandel
bugs1154228
milestone39.0a2
Bug 1154228 - Remove unnecessary semicolon in toLocalTimeISOString in TelemetrySession.jsm. r=gfritzsche,a=lmandel
toolkit/components/telemetry/TelemetrySession.jsm
--- a/toolkit/components/telemetry/TelemetrySession.jsm
+++ b/toolkit/components/telemetry/TelemetrySession.jsm
@@ -256,17 +256,17 @@ function toLocalTimeISOString(date) {
   let tzOffset = date.getTimezoneOffset();
 
   // YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)
   return    padNumber(date.getFullYear(), 4)
     + "-" + padNumber(date.getMonth() + 1, 2)
     + "-" + padNumber(date.getDate(), 2)
     + "T" + padNumber(date.getHours(), 2)
     + ":" + padNumber(date.getMinutes(), 2)
-    + ":" + padNumber(date.getSeconds(), 2);
+    + ":" + padNumber(date.getSeconds(), 2)
     + "." + date.getMilliseconds()
     + sign(tzOffset) + Math.abs(Math.floor(tzOffset / 60))
     + ":" + Math.abs(tzOffset % 60);
 }
 
 /**
  * Read current process I/O counters.
  */