TimeString format: Return micro time if all other data is emtpy

If micro time is off, but we have no other data, then return the micro
time or 0 ms if none
This commit is contained in:
Clemens Schwaighofer
2015-10-21 16:26:31 +09:00
parent 6e81dc5f33
commit 75c809381a

View File

@@ -1058,6 +1058,8 @@
// add ms if there
if ($show_micro)
$time_string .= ' '.(!$ms ? 0 : $ms).'ms';
elseif (!$time_string)
$time_string .= (!$ms ? 0 : $ms).'ms';
}
else
{