Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

bug with html_select_date time option

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
hknaksu
Smarty n00b


Joined: 06 Jun 2003
Posts: 1

PostPosted: Fri Jun 06, 2003 4:01 am    Post subject: bug with html_select_date time option Reply with quote

Hi all,

bug with {html_select_date time=$mytime}

When using the 'time' option the year field always shows the current year.
So It fails with time values for years that are not current.
The workaround I am using is to set
year_start=-10 and year_end=+10
and the correct year for mytime gets picked up.

I expected :
if mytime > current_year
that all the year options from current up to mytime would show up

and also if mytime < current_year
that all the year options from mytime to the current_year would show up.

using v2.5.0
thanks,
-hkn
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP