Strange times ?

From: Date: Mon, 31 Oct 2005 14:34:00 +0000
Subject: Strange times ?
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2800@lists.php.net to get a copy of this message
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 :(

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