Meridiem_time is a project mainly written in Ruby, based on the MIT license.
Rails 3.x twelve hour time select
12-HOUR TIME PLUGIN
Not all of us are adept at those exotic, 24-hour clocks. So for the rest of us, here's a simple plugin that tacks on an AM/PM selector to the DateHelper methods. It also handles the backend, so things are properly stored in 24-hour format.
USAGE:
<%= time_select 'event', 'time', {:twelve_hour => true} %>
AUTHORS:
Nick Muerdter (original code) Maurice Aubrey [email protected] Jeffrey Lee [email protected]
LICENSE:
Released under the MIT license. See the MIT-LICENSE file included with this distribution.
HOMEPAGE:
http://code.google.com/p/rails-twelve-hour-time-plugin/ (original code) https://github.com/jeffleeismyhero/12-hour-time