Skip to content

csun-student-affairs/rails-twelve-hour-time-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <maurice.aubrey+12hour@gmail.com>

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/

About

Allows for 'am/pm' time format in rails (and formtastic) form helpers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published