Issue
I am using
<%= f.time_select :time_from , :minute_step => 15 %>
to display time select option with a step of 15 mins.
Its showing 24hours clock. I want to show 12hour clock in display section (user view) and 24hour clock in value section (for back ground processing.).
Solution
Here is 12 hour plugin for this.
http://code.google.com/p/rails-twelve-hour-time-plugin/
Answered By - Mohit Jain
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.