bug: html_select_date shows wrong year
| From: | Konstantin Pelepelin | Date: | Fri, 09 Jul 2004 12:38:29 +0000 |
| Subject: | bug: html_select_date shows wrong year | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2478@lists.php.net to get a copy of this message | ||
Hi!
html_select_date doesn't show the specified year if it is outside of assumed range (or range not specified).
I think it should.
Example:
{html_select_date time='2020-01-01' start_year="1990" end_year="2010" field_order="YMD"}
Shows 1990 instead of 2020.
(Smarty 2.6.3)
Konstantin Pelepelin