Skip to content
It makes working with jQuery UI Datepicker and Rails a breeze.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


DoubleDate makes working with jQuery UI DatePicker and Rails a breeze. It allows you to format the date when displaying it to the user in the format of your choosing while submitting it in the format of your server's choosing. DoubleDate is written in CoffeeScript but a plain Jane JavaScript version is included as well.


  • jQuery UI Datepicker (and therefore jQuery)


  1. Download your flavor (JS or Coffee) and include it in your app


new DoubleDate(
  el: $("input.your_date_input")

Options (defaults shown)

new DoubleDate(
  dateFormat: "mm/dd/yy"
  altFormat: "yy-mm-dd"
Something went wrong with that request. Please try again.