Browse Source

php - block stats table age doesn't include the oldest block - use a date stamp instead

master
kanoi 9 years ago
parent
commit
934ea3f07d
  1. 2
      pool/page_blocks.php

2
pool/page_blocks.php

@ -111,7 +111,7 @@ function doblocks($data, $user)
$row = 'odd'; $row = 'odd';
$desc = $ans['s_desc:'.$i]; $desc = $ans['s_desc:'.$i];
$age = daysago($since - $ans['s_createdate:'.$i]); $age = gmdate('j/M H:i',$ans['s_createdate:'.$i]);
$diff = number_format(100 * $ans['s_diffratio:'.$i], 2); $diff = number_format(100 * $ans['s_diffratio:'.$i], 2);
$mean = number_format(100 * $ans['s_diffmean:'.$i], 2); $mean = number_format(100 * $ans['s_diffmean:'.$i], 2);

Loading…
Cancel
Save