mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
small fix to make it run on my server
--HG-- branch : quitta-gsoc-2013
This commit is contained in:
parent
6f43d4f003
commit
16de8b0f3b
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ class Gui_Elements{
|
|||
|
||||
public static function time_elapsed_string($ptime){
|
||||
|
||||
$ttime = new DateTime($ptime);
|
||||
$ptime = $ttime->getTimestamp();
|
||||
$ptime = strtotime($ptime);
|
||||
|
||||
$etime = time() - $ptime;
|
||||
|
||||
|
|
Loading…
Reference in a new issue