Friday, May 18, 2012

Rails date/time picker (hopefully jquery)


Looking for a date and datetime picker that will integrate fairly seamlessly with Rails. I'm sure some people must be using something similar. I have tried





  • the unobtrusive date picker plugin but it breaks with the latest release of Rails.





  • calendar date select plugin uses prototype which I have removed from my app and don't want to add back.





  • active calendar plugin - broken with latest Rails and hacked to fix but doesn't fill out the text fields when a model is loaded.





Thanks very much.


Source: Tips4all

2 comments:

  1. Here is a good write up on one option.

    http://milesich.com/timepicker/



    There is another post here on StackOverflow on a similar topic. You are looking for something more specific to rails than the OP of this one, but it still has some good info.

    ReplyDelete
  2. The Any+Time(TM) Datepicker/Timepicker AJAX Calendar Widget uses jQuery and should work seamlessly with Rails. It provides many date/time formatting options and requires only a single line of your own JS code to attach to any text field. It also aims to minimize the number of mouse clicks necessary to select a date and/or time, and provides WAI-ARIA keyboard accessibility for users without a mouse. Did I mention Time Zone support and custom Styles/Themes using CSS and/or jQuery UI? :-)

    ReplyDelete