]> source.dussan.org Git - jquery-ui.git/commit
Datepicker: Use Globalize 1.0.0
authorRafael Xavier de Souza <rxaviers@gmail.com>
Thu, 4 Sep 2014 18:47:48 +0000 (15:47 -0300)
committerFelix Nagel <info@felixnagel.com>
Tue, 28 Jul 2015 22:03:59 +0000 (00:03 +0200)
commit82ea79ce5f3a86606b4d8cca5c8b9065b45d50e4
treebcd7061e7f67bafb9aaa3276bc4971c905787ae2
parentfda7a7e98fe376e04f66a122a82b209a2c628cfd
Datepicker: Use Globalize 1.0.0

- Move external/date.js -> ui/calendar/date.js and UMDify it;
- Create a locale option as discussed during Chicago's meeting:
  - [String] A String with locale value, e.g. "en"; or
  - [Object] An object with all the formatters.
  TODO: Use the Globalize to-be-created generators instead of these wrap
  functions.
demos/datepicker/localization.html
ui/calendar.js
ui/calendar/date.js [new file with mode: 0644]
ui/datepicker.js