summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2014-10-09 14:27:20 +0200
committerUrban Müller2014-10-09 14:27:20 +0200
commit603e6eadeedbd4717056965a18a8416c8d3c5885 (patch)
tree66fd3a1ca933cb0430bdcae67dfc8e5dd536699a /it.class
parenta20beac929ae2469ae00a42950c81d0fe89c0ebc (diff)
downloaditools-603e6eadeedbd4717056965a18a8416c8d3c5885.tar.gz
itools-603e6eadeedbd4717056965a18a8416c8d3c5885.tar.bz2
itools-603e6eadeedbd4717056965a18a8416c8d3c5885.zip
all times in debug param time
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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();
}
/**