small fix to make it run on my server

--HG--
branch : quitta-gsoc-2013
hg/feature/sse2
Quitta 12 years ago
parent 6f43d4f003
commit 16de8b0f3b

@ -46,8 +46,7 @@ class Gui_Elements{
public static function time_elapsed_string($ptime){ public static function time_elapsed_string($ptime){
$ttime = new DateTime($ptime); $ptime = strtotime($ptime);
$ptime = $ttime->getTimestamp();
$etime = time() - $ptime; $etime = time() - $ptime;

Loading…
Cancel
Save