# HG changeset patch # User Dan Fuhry # Date 1335333818 14400 # Node ID 26e80700ff1d8e787818bd88fac76b17299767f0 # Parent 570abc94bd7f34c6dae296194c4be0e577dac96a Small change to generation time formatting to make all pages the same time. Makes apachebench not screw up. diff -r 570abc94bd7f -r 26e80700ff1d includes/template.php --- a/includes/template.php Wed Apr 25 02:01:55 2012 -0400 +++ b/includes/template.php Wed Apr 25 02:03:38 2012 -0400 @@ -1447,7 +1447,7 @@ $f = microtime_float(); $f = $f - $_starttime; - $f = round($f, 2); + $f = sprintf("%.02f", $f); $t_loc = $lang->get('page_msg_stats_gentime_short', array('time' => $f)); $t_loc_long = $lang->get('page_msg_stats_gentime_long', array('time' => $f));