From 33df3708f889744a3cabb36a77a16a3077a49a32 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Fri, 28 Oct 2011 17:06:01 +0000 Subject: code style --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index bc5e94e..e8305a3 100644 --- a/it.class +++ b/it.class @@ -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); -- cgit v1.2.3