[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-dev
Subject: Re: [SMARTY-DEV] bug: date_format fails on some timestamp values
From: messju mohr <messju () lammfellpuschen ! de>
Date: 2003-10-11 9:34:59
[Download RAW message or body]
fixed in cvs. thanks!
On Fri, Oct 10, 2003 at 09:41:19PM +0400, Konstantin A. Pelepelin wrote:
> 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
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic