summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}
/**