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:
@@ -1058,6 +1058,8 @@
|
|||||||
// add ms if there
|
// add ms if there
|
||||||
if ($show_micro)
|
if ($show_micro)
|
||||||
$time_string .= ' '.(!$ms ? 0 : $ms).'ms';
|
$time_string .= ' '.(!$ms ? 0 : $ms).'ms';
|
||||||
|
elseif (!$time_string)
|
||||||
|
$time_string .= (!$ms ? 0 : $ms).'ms';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user