|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
krsaurabhpahwa Smarty n00b
Joined: 01 Nov 2011 Posts: 1
|
Posted: Wed Jun 26, 2013 4:59 am Post subject: html_select_date |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Jun 27, 2013 2:56 am Post subject: |
|
|
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 |
|
|
|
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
|