date_format
| From: | Nino Katic | Date: | Tue, 09 Sep 2003 11:37:26 +0000 |
| Subject: | date_format | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10180@lists.php.net to get a copy of this message | ||
Hi,
I'm subtracting 2 timestamps (difference is 20 sec.) inside smarty
2.6.0 RC1 like this:
{assign var="foo" value="
$date1-$date2"}
after i make
{$foo|date_format:"%H:%M:%S"}
i get result of 20 HOURS??
Is this a bug or what?
Nino