Re: [SMARTY] Default value for date_format
| From: | Monte Ohrt | Date: | Wed, 19 Jun 2002 14:30:17 +0000 |
| Subject: | Re: [SMARTY] Default value for date_format | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4935@lists.php.net to get a copy of this message | ||
This is updated in CVS. date_format will no longer format an empty string.
G wrote:
Hello- Is there a way to have date_format print out a default value - such as nothing - if a variable doesn't contain a valid date (like an empty string)? Right now it appears to output the current date by default. Gerard-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.