g214/static/bower_components/datetimepicker-master
xieshen 35d9133e59 init 2018-08-20 16:21:51 +08:00
..
build init 2018-08-20 16:21:51 +08:00
screen init 2018-08-20 16:21:51 +08:00
tests init 2018-08-20 16:21:51 +08:00
.gitignore init 2018-08-20 16:21:51 +08:00
MIT-LICENSE.txt init 2018-08-20 16:21:51 +08:00
README.md init 2018-08-20 16:21:51 +08:00
bower.json init 2018-08-20 16:21:51 +08:00
datetimepicker.jquery.json init 2018-08-20 16:21:51 +08:00
doc.tpl init 2018-08-20 16:21:51 +08:00
index.html init 2018-08-20 16:21:51 +08:00
jquery.datetimepicker.css init 2018-08-20 16:21:51 +08:00
jquery.datetimepicker.js init 2018-08-20 16:21:51 +08:00
jquery.datetimepicker.min.js init 2018-08-20 16:21:51 +08:00
jquery.js init 2018-08-20 16:21:51 +08:00
package.json init 2018-08-20 16:21:51 +08:00
yarn.lock init 2018-08-20 16:21:51 +08:00

README.md

PLEASE. Help me update documentation.

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:

jQuery.datetimepicker.setLocale('en');

Documentation

jQuery Plugin Date and Time Picker

DateTimePicker

ScreenShot

DatePicker

ScreenShot

TimePicker

ScreenShot

Options to highlight individual dates or periods

ScreenShot

ScreenShot

ScreenShot

JS Build help

Requires Node and NPM Download and install node.js.

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.

Notice: If you use Bower v1.5.2, you will get error: The "main" field cannot contain minified files You can regress to version 1.3.12

  1. npm uninstall bower -g
  2. npm install -g bower@1.3.12

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