Strange times ?
Attila Csipa <[email protected]> Mon, 31 Oct 2005 15:34:00 +0100
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
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)
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