I am using rails 3.2.13. I want to show 12 o’clock and am / pm also in the drop down list. Many people seem to be talking about this, but there is no built-in solution for the same.
time_select("post", "written_on", {:ampm => true})
Any suggestions?
source share