2016-02-14 00:48:21 +00:00
|
|
|
# PLEASE. Help me update documetation.
|
|
|
|
[Doc.tpl](https://github.com/xdan/datetimepicker/blob/master/doc.tpl)
|
|
|
|
This file will be automatically displayed on the site
|
|
|
|
|
2015-09-25 10:32:41 +00:00
|
|
|
# datetimepicker
|
2013-11-03 10:10:07 +00:00
|
|
|
==============
|
2015-09-25 10:32:41 +00:00
|
|
|
|
|
|
|
**!!! The latest version of the options 'lang' obsolete. The language setting is now global. !!!**
|
|
|
|
|
|
|
|
Use this:
|
|
|
|
```javascript
|
|
|
|
$.datetimepicker.setLocale('en');
|
|
|
|
```
|
2013-11-05 12:35:02 +00:00
|
|
|
[Documentation][doc]
|
|
|
|
|
2013-11-03 10:10:07 +00:00
|
|
|
jQuery Plugin Date and Time Picker
|
2013-11-03 10:51:56 +00:00
|
|
|
|
2013-11-03 10:52:54 +00:00
|
|
|
DateTimePicker
|
|
|
|
|
2014-12-12 14:12:57 +00:00
|
|
|
![ScreenShot](https://raw.github.com/xdan/datetimepicker/master/screen/1.png)
|
2013-11-03 10:52:54 +00:00
|
|
|
|
|
|
|
DatePicker
|
|
|
|
|
2014-12-12 14:12:57 +00:00
|
|
|
![ScreenShot](https://raw.github.com/xdan/datetimepicker/master/screen/2.png)
|
2013-11-03 10:52:54 +00:00
|
|
|
|
|
|
|
TimePicker
|
|
|
|
|
2014-12-12 14:12:57 +00:00
|
|
|
![ScreenShot](https://raw.github.com/xdan/datetimepicker/master/screen/3.png)
|
2013-11-03 10:52:54 +00:00
|
|
|
|
2015-04-09 13:12:43 +00:00
|
|
|
Options to highlight individual dates or periods
|
|
|
|
|
|
|
|
![ScreenShot](https://raw.github.com/Mingpao/datetimepicker/master/screen/4.png)
|
|
|
|
|
|
|
|
![ScreenShot](https://raw.github.com/Mingpao/datetimepicker/master/screen/5.png)
|
|
|
|
|
|
|
|
![ScreenShot](https://raw.github.com/Mingpao/datetimepicker/master/screen/6.png)
|
|
|
|
|
2013-11-03 12:16:08 +00:00
|
|
|
[doc]: http://xdsoft.net/jqplugins/datetimepicker/
|
2015-09-26 12:16:57 +00:00
|
|
|
|
|
|
|
### JS Build help
|
|
|
|
|
|
|
|
**Requires Node and NPM** [Download and install node.js](http://nodejs.org/download/).
|
|
|
|
|
|
|
|
Install:
|
|
|
|
|
|
|
|
1. Install `bower` globally with `npm install -g bower`.
|
|
|
|
2. Run `npm install`. npm will look at `package.json` and automatically install the necessary dependencies.
|
|
|
|
3. Run `bower install`, which installs front-end packages defined in `bower.json`.
|
|
|
|
|
|
|
|
Build:
|
|
|
|
|
|
|
|
- `npm run build`
|
|
|
|
|
|
|
|
When build completed, you'll have the following files:
|
2015-09-26 12:19:28 +00:00
|
|
|
- **build/jquery.datetimepicker.full.js** - browser file
|
2015-09-26 12:18:45 +00:00
|
|
|
- **build/jquery.datetimepicker.full.min.js** - browser minified file
|
|
|
|
- **build/jquery.datetimepicker.min.js** - amd module style minified file
|