Time Picker plugin

Plugin details

The usage of time_picker follows closely of that of ActionView::Helpers::DateHelper.

Repositoryhttp://timepicker.rubyforge.org/svn/trunk/ Author Thong Kuah Tags Time LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://timepicker.rubyforge.org/svn/trunk/

To use a time_picker with the default 24 hour format, 30 minute step,

time_picker(Time.now, {:minute_step => 30})



To use a time_picker with 12 hour format, 30 minute step,

time_picker(Time.now, {:time_format => '12', :minute_step => 30})



Other options (same as ActionView::Helpers::DateHelper) are:

* :prefix
* :field_name
* :time_separator

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, 8 months ago