bug: date_format fails on some timestamp values

From: Date: Fri, 10 Oct 2003 17:41:19 +0000
Subject: bug: date_format fails on some timestamp values
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1892@lists.php.net to get a copy of this message
example: $ts=1064404902.021; echo strftime("%Y-%m-%d",$ts); // output: 2003-09-24 echo smarty_modifier_date_format($ts,"%Y-%m-%d"); // output: NOTHING! Actually, value is numeric and is 14 chars length, so it is grabbed by "mysql" block of smarty_make_timestamp(). WBR, Konstantin A. Pelepelin

« previous php.smarty.dev (#1892) next »