qase-javascript-commons 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md
CHANGED
|
@@ -361,9 +361,9 @@ class TestOpsReporter extends abstract_reporter_1.AbstractReporter {
|
|
|
361
361
|
const year = date.getUTCFullYear();
|
|
362
362
|
const month = ('0' + (date.getUTCMonth() + 1).toString()).slice(-2); // Months are zero indexed, so we add 1
|
|
363
363
|
const day = ('0' + date.getUTCDate().toString()).slice(-2);
|
|
364
|
-
const hours = date.getUTCHours().toString();
|
|
365
|
-
const minutes = date.getUTCMinutes().toString();
|
|
366
|
-
const seconds = date.getUTCSeconds().toString();
|
|
364
|
+
const hours = ('0' + date.getUTCHours().toString()).slice(-2);
|
|
365
|
+
const minutes = ('0' + date.getUTCMinutes().toString()).slice(-2);
|
|
366
|
+
const seconds = ('0' + date.getUTCSeconds().toString()).slice(-2);
|
|
367
367
|
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
368
368
|
}
|
|
369
369
|
/**
|