Skip to content

It makes working with jQuery UI Datepicker and Rails a breeze.

Notifications You must be signed in to change notification settings

patbenatar/doubledate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

DoubleDate

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.

Dependencies

  • jQuery UI Datepicker (and therefore jQuery)

Installation

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

Usage

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

Options (defaults shown)

new DoubleDate(
  dateFormat: "mm/dd/yy"
  altFormat: "yy-mm-dd"
)

About

It makes working with jQuery UI Datepicker and Rails a breeze.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published