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

html_select_date

 
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 -> Plugins
View previous topic :: View next topic  
Author Message
krsaurabhpahwa
Smarty n00b


Joined: 01 Nov 2011
Posts: 1

PostPosted: Wed Jun 26, 2013 4:59 am    Post subject: html_select_date Reply with quote

In html_select_date, when i pass date like 2013-06-31 ( June contains 30 days only ) in time parameter then the drop down shows 01 but I want to show 31 whether it is in current month or not.

Thanks in advance for helping me.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Jun 27, 2013 2:56 am    Post subject: Reply with quote

You will have to make your own date function to do that. html_select_date uses PHP date functions which will do the same thing when using non-existant dates.
Back to top
View user's profile Send private message Visit poster's website
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 -> Plugins 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