diff options
| author | Urban Müller | 2014-07-25 17:14:54 +0200 | 
|---|---|---|
| committer | Urban Müller | 2014-07-25 17:15:43 +0200 | 
| commit | 47c5a709980480406d7db3eb414a0df167c75b1d (patch) | |
| tree | 9dd20dec93bf0f7d939e4a7b5a6d5ac0050a6648 | |
| parent | 5f93ec81033fa401e85a64548c73f19e9bc1e147 (diff) | |
| download | itools-47c5a709980480406d7db3eb414a0df167c75b1d.tar.gz itools-47c5a709980480406d7db3eb414a0df167c75b1d.tar.bz2 itools-47c5a709980480406d7db3eb414a0df167c75b1d.zip  | |
partial implementation of time() override
| -rw-r--r-- | it.class | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -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);  |