Hi everyone, Is there a time select helper which uses a 12 hour clock rather than a 24 hour one? Also, does anyone know if :discard_year actually works in datetime_select now, or how I could find this out? Thanks! Daniel
I''d like to see an AM/PM select as well...this 24h clock is lame. On 5/18/06, Daniel Higginbotham <daniel@flyingmachinestudios.com> wrote:> > Hi everyone, > > Is there a time select helper which uses a 12 hour clock rather than a 24 > hour one? Also, does anyone know if :discard_year actually works in > datetime_select now, or how I could find this out? > > Thanks! > Daniel > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060520/b04846c4/attachment.html
subimage interactive <subimage@...> writes:> > > I''d like to see an AM/PM select as well...this 24h clock is lame. > > On 5/18/06, Daniel Higginbotham<daniel@flyingmachinestudios.com> > wrote:Hi everyone,Is there a time select helper which >uses a 12 hour clock rather than a 24 > hour one? [...]Third...ed. I''m surprised this is not part of ActionView''s basic functionality.
Yes, I was dealing with and asking these same questions a few weeks ago. I''ve found an excellent solution from a plugin called flex_times. I guess the name fits as it is very flexible with date and time selectors. I finally got my 12 hour time selectors to play nicely with my time column type in MySQL. Check it out: http://wiki.rubyonrails.org/rails/pages/FlexTimes+Plugin -- Posted via http://www.ruby-forum.com/.
Sweet, thanks! -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Marston A. Sent: Sunday, May 21, 2006 11:15 AM To: rails@lists.rubyonrails.org Subject: [Rails] Re: time select with am/pm? Yes, I was dealing with and asking these same questions a few weeks ago. I''ve found an excellent solution from a plugin called flex_times. I guess the name fits as it is very flexible with date and time selectors. I finally got my 12 hour time selectors to play nicely with my time column type in MySQL. Check it out: http://wiki.rubyonrails.org/rails/pages/FlexTimes+Plugin -- Posted via http://www.ruby-forum.com/. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails