Skip to content

xdan/datetimepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24d7dd5 · Apr 6, 2022
Apr 6, 2022
Apr 9, 2015
Mar 21, 2018
Aug 13, 2020
Apr 23, 2021
Nov 5, 2013
Jul 27, 2021
Oct 13, 2017
May 19, 2016
Dec 10, 2019
Mar 21, 2018
Oct 12, 2017
Apr 6, 2022
Mar 21, 2018
Feb 23, 2019
Apr 6, 2022
Apr 6, 2022
Feb 23, 2019
Oct 12, 2020

Repository files navigation

jQuery DateTimePicker

Demo and Documentation

Build Status npm version npm

PLEASE. Help me update the documentation. Doc.tpl This file will be automatically displayed on the site

Installation

npm install jquery-datetimepicker

OR

yarn add jquery-datetimepicker

or download zip

datetimepicker

==============

!!! In the latest version the 'lang' option is 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 the 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 [email protected]

Build:

First install npm requirements: npm install -g uglifycss concat-cli Then build the files: npm run build

When the build completes, 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