diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -723,7 +723,7 @@ static function date($format = "", $stamp = null) if (!isset($stamp)) $stamp = time(); - else if (!is_int($stamp) && !ctype_digit($stamp) && (!is_float($stamp) || strstr($stamp, '.'))) + else if (is_string($stamp) && !ctype_digit($stamp)) $stamp = strtotime($stamp); list($name, $language) = explode(":", $format); |