Changeset 147
- Timestamp:
- 10/04/07 00:40:27 (15 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
classes/HellaController.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGELOG
r143 r147 6 6 * Fixed a bug where the automatic refresh would reduce the log to a single 7 7 line of text in IE. [ticket:4] 8 9 * Changed the display of timestamps to match HellaNZB, making them clearer 8 10 9 11 1.8 -
trunk/classes/HellaController.php
r144 r147 555 555 556 556 if ($days > 1) { 557 $output = $days . ' Days, '; 558 } elseif ($days > 0) { 559 $output = $days . ' Day, '; 560 } 561 562 $output .= $hours . ':' . str_pad($minutes, 2, '0', STR_PAD_LEFT) . ':' . str_pad($seconds, 2, '0', STR_PAD_LEFT); 557 $output = $days . 'd '; 558 } 559 560 $output .= $hours . 'h ' . str_pad($minutes, 2, '0', STR_PAD_LEFT) . 'm ' . str_pad($seconds, 2, '0', STR_PAD_LEFT) . 's'; 563 561 return $output; 564 562
