diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -718,6 +718,9 @@ static function gets() */ static function date($format = "", $stamp = null) { + if (is_float($stamp)) # Temporary logging of float timestamps + @it::log('it_date_float', $stamp, it_debug::backtrace()); + if (!isset($stamp)) $stamp = time(); else if (!is_int($stamp) && !ctype_digit($stamp) && (!is_float($stamp) || strstr($stamp, '.'))) |