Skip to content

Commit

Permalink
Merge pull request #44 from metfan/numberFormatAmChart
Browse files Browse the repository at this point in the history
fix bug ratio 1000 in table about request_time.
  • Loading branch information
muxx committed Oct 11, 2013
2 parents 3e1d692 + d1f5240 commit d5ad9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pinboard/Controller/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function getLivePages($conn, $serverName, $hostName, $lastId = null, $limit = 50
foreach($data as &$item) {
$item['req_time'] = $item['req_time'] * 1000;
$item['mem_peak_usage'] = $item['mem_peak_usage'];
$item['req_time_format'] = number_format($item['req_time'] * 1000, 0, '.', ',');
$item['req_time_format'] = number_format($item['req_time'], 0, '.', ',');
$item['mem_peak_usage_format'] = number_format($item['mem_peak_usage'], 0, '.', ',');
}

Expand Down

0 comments on commit d5ad9a8

Please sign in to comment.