summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
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 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);