Re: Strange times ?

"messju mohr" <[email protected]> Mon, 31 Oct 2005 16:02:47 +0100
Newsgroups gmane.comp.php.smarty.devel
Message-ID <20051031150246.GT5131@dune>
hi,

On Mon, Oct 31, 2005 at 03:34:00PM +0100, Attila Csipa wrote:
> I'm having an interesting problem with smarty, on PHP 5.0.5-3, Apache 2.0.55-3 
> on an AMD64 Debian machine. 
> 
> {$smarty.now|date_format:"%Y.%m.%d."}
> 
> returns 
> 
> 113082.03.04. 00:00
> 
> (the actual timestamp returned by {$smarty.now} is 1130767504, which is 
> correct)

this is discussed
here: http://www.phpinsider.com/smarty-forum/viewtopic.php?p=22470
and here http://www.phpinsider.com/smarty-forum/viewtopic.php?p=22593

and fixed in cvs.

 
> The _same_ PHP and Apache versions before upgrading to AMD64 worked just fine 
> (I did erase the previously compiled templates, but I'm not sure of php.ini 
> changes). I understand that smarty, not being a binary thing has practically 
> zero hardware dependancy, which makes it even stranger since the basic PHP 
> time functions seem to work properly. It is most likely I'm not seeing 
> something very basic and obvious, perhaps even totally unrelated to smarty, 
> but can't reproduce the problem on my machine (again, same Apache, PHP and 
> Smarty versions, but on a i386 sarge) and I can't modify smarty sources on 
> the amd64 machine to gain some debug output :(
> 
> -- 
> Smarty Development Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php