mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
jQuery Plugin Date and Time Picker
5d5fb81a3e
When using Moment.js to format dates, the syntax is not the same as the default one : http://momentjs.com/docs/#/parsing/string-format/ So, parsing something like "DD/MM/YYYY HH:mm" to build the mask ends with a wrong mask that fails when testing with "isValidValue" function, resulting in replacing the value of the input field with the wrong mask that was built just before. |
||
---|---|---|
build | ||
screen | ||
.gitignore | ||
bower.json | ||
datetimepicker.jquery.json | ||
doc.tpl | ||
index.html | ||
jquery.datetimepicker.css | ||
jquery.datetimepicker.js | ||
jquery.datetimepicker.min.js | ||
jquery.js | ||
MIT-LICENSE.txt | ||
package.json | ||
README.md |
PLEASE. Help me update documetation.
Doc.tpl This file will be automatically displayed on the site
datetimepicker
==============
!!! The latest version of the options 'lang' obsolete. The language setting is now global. !!!
Use this:
$.datetimepicker.setLocale('en');
jQuery Plugin Date and Time Picker
DateTimePicker
DatePicker
TimePicker
Options to highlight individual dates or periods
JS Build help
Requires Node and NPM Download and install node.js.
Install:
- Install
bower
globally withnpm install -g bower
. - Run
npm install
. npm will look atpackage.json
and automatically install the necessary dependencies. - Run
bower install
, which installs front-end packages defined inbower.json
.
Build:
npm run build
When build completed, you'll have the following files:
- build/jquery.datetimepicker.full.js - browser file
- build/jquery.datetimepicker.full.min.js - browser minified file
- build/jquery.datetimepicker.min.js - amd module style minified file