From 47c5a709980480406d7db3eb414a0df167c75b1d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 25 Jul 2014 17:14:54 +0200 Subject: partial implementation of time() override --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index b8e22a6..64a2f51 100644 --- a/it.class +++ b/it.class @@ -870,7 +870,7 @@ static function gets() static function date($format = "", $stamp = null) { if (!isset($stamp)) - $stamp = time(); + $stamp = EDC('time') ? strtotime(EDC('time')) : time(); else if (is_string($stamp) && !ctype_digit($stamp)) $stamp = strtotime($stamp); -- cgit v1.2.3