date_format and additional parms (not the number but the type)
| From: | Marc Logemann | Date: | Thu, 29 Mar 2001 13:51:15 +0000 |
| Subject: | date_format and additional parms (not the number but the type) | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-492@lists.php.net to get a copy of this message | ||
Hi,
i am just wondering if it would be useful to have more than one
style of input paramter in date_format, right now its a wrapper
of strftime(), thus only unix timestamp is allowed.
Wouldnt it be useful to have date, datetime or mysql_timestamp as
possible paramters? I mean a lot of people have date or mysql_timestamp
instead of unix timestamp in their databases.
If it is useful i could make a first code draft for this...
-----------------------
Marc Logemann
Morelogs GmbH & Co. KG
Chief Software Architect
-----------------------