bug: html_select_date shows wrong year

[email protected] ("Konstantin Pelepelin")
Newsgroups php.smarty.dev
Organization DTF
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.