Re: [SMARTY] date_format on windows

From: Date: Tue, 25 Mar 2003 06:10:49 +0000
Subject: Re: [SMARTY] date_format on windows
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8877@lists.php.net to get a copy of this message
Travis Low wrote:
I just discovered that %D and %e were not working with date_format on Win2K/IIS. I tried it with both PHP4.2.1 and 4.3.1. Smarty version is 2.4.2. I ended up changing %D to %m/%d/%y, and %e to %d. Not my preferred solution, but an acceptable workaround. cheers, Travis
Lot of people have noticed this, unfortunatley. My workaround is to usually replace strftime with date and change the name of the plugin from date_format to just date. Then I use the date formatting commands and all is better :) -- Paul Lockaby paul@paullockaby.com http://www.paullockaby.com

« previous php.smarty.general (#8877) next »