vespoli / bootstrap-datetimepicker

Date/time picker widget based on twitter bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Bootstrap v3 datetimepicker widget

###Using Moment.js I've had several request to allow for more date formats. As it is, this library doesn't support much in the way of custom formats. As such, I have begun to research a javascript library that would play nicely with or could be incorporated into this library and exchanged for the existing formatDate code.

Moment.js is my favorite at this... erm... moment. However, this will require you to carry an addition script file along with the datepicker. I would like to get the opinions of my fellow users to ascertain if this is acceptable or if a new branch is needed that requires moment and attempt to maintain both branches (one with moment.js and one without).

Please voice your opinion on issue #23

####New feature (1.0.5)!

  • defaultDate is now an option to set the inital date. It accepts date objects like new Date("November 12, 2013 00:00:00") and 12/25/2013 00:00
  • partial support for moment.js

####New feature (1.0.4)!

  • format is now an option in the locale files. If format is present in a language file it will default to that date format string (see Russian locale file for example).

Documentation is now here and updated for Bootstrap v3

About

Date/time picker widget based on twitter bootstrap

License:Apache License 2.0


Languages

Language:JavaScript 76.2%Language:CoffeeScript 18.5%Language:CSS 4.2%Language:Shell 1.2%