Flex Times plugin

Plugin details

the plugin that gives you control over the datetime helpers.

Websitehttp://wiki.rubyonrails.org/rails/pages/FlexTimes+Plugin Repositorysvn://rubyforge.org/var/svn/flextimes Author Sean Cribbs Tags flex, Time LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/flextimes

Examples
============

datetime_select "object", "method"  # Uses default order
datetime_select "object", "method", :twelve_hour => true # Uses default order with 12-hour time
datetime_select "object", "method", :order => [:month, :day, " , ", :year] # Creates selects in format "[April][12] , [2006]" 
datetime_select "object", "method", :order => [:month, :day, :hour, :ampm] # Automatically uses 12-hour time and outputs in the format "[April][12][12][PM]"

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (1 older version) | Last edited by: scott, 7 months ago