diff options
author | Nathan Gass | 2011-10-28 17:06:01 +0000 |
---|---|---|
committer | Nathan Gass | 2011-10-28 17:06:01 +0000 |
commit | 33df3708f889744a3cabb36a77a16a3077a49a32 (patch) | |
tree | dba378c55f6b83481473f1c0fe50dc0d3660a2d3 | |
parent | a84fe3f02c9ff31802b683c30bf52253adc569b1 (diff) | |
download | itools-33df3708f889744a3cabb36a77a16a3077a49a32.tar.gz itools-33df3708f889744a3cabb36a77a16a3077a49a32.tar.bz2 itools-33df3708f889744a3cabb36a77a16a3077a49a32.zip |
code style
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -725,7 +725,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_int($stamp) && !ctype_digit($stamp) && (!is_float($stamp) || strstr($stamp, '.'))) $stamp = strtotime($stamp); list($name, $language) = explode(":", $format); |