From 603e6eadeedbd4717056965a18a8416c8d3c5885 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 9 Oct 2014 14:27:20 +0200 Subject: all times in debug param time --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 660f1c9..ed12bdd 100644 --- a/it.class +++ b/it.class @@ -863,7 +863,7 @@ static function gets() */ function time() { - return ($t = EDC('time')) ? strtotime($t) : time(); + return ($t = EDC('time')) ? strtotime(rtrim(it::replace(array('(\d\d\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)(-(\d\d))?' => '$1-$2-$3 $4:$5:$7'), $t), ":")) : time(); } /** -- cgit v1.2.3