Forum: Ruby on Rails 12 hour time plugin

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
43ec5998360a0cc21b51afef1781e9c0?d=identicon&s=25 Daniel Higginbotham (danieldaniel)
on 2006-05-21 00:35
(Received via mailing list)
Hi Everyone,

I've made a plugin that adds a 12 hour time helper. You can download it
here:

http://www.happyfreelancer.com/time_12hour_select.zip

The method you want to use in your views is
time_12hour_select(object, method, options = {})

This will only work with fields of type Time - it won't work with
Datetime.

I haven't thoroughly tested it but it seems to be working so far. I hope
you
find it useful!

Daniel
This topic is locked and can not be replied to.