mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 23:36:18 +00:00
small fix to make it run on my server
This commit is contained in:
parent
c912daecae
commit
34c688ee27
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue