Page MenuHomePhorge

D25856.1734725258.diff
No OneTemporary

D25856.1734725258.diff

diff --git a/src/unit/renderer/ArcanistUnitConsoleRenderer.php b/src/unit/renderer/ArcanistUnitConsoleRenderer.php
--- a/src/unit/renderer/ArcanistUnitConsoleRenderer.php
+++ b/src/unit/renderer/ArcanistUnitConsoleRenderer.php
@@ -83,7 +83,7 @@
private function formatTime($seconds) {
if ($seconds >= 60) {
$minutes = (int)floor($seconds / 60);
- return pht('%dm%02ds', $minutes, round($seconds % 60));
+ return pht('%dm%02ds', $minutes, round((int)$seconds % 60));
}
if ($seconds >= 1) {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 20:07 (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020958
Default Alt Text
D25856.1734725258.diff (527 B)

Event Timeline