tz-datetimepicker
v1.0.4
Published
jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one
Downloads
275
Readme
Datetime Picker with timezone support
Replaced php-date-formatter with momentJS.
Replaced native Date object with moment object.
Used Moment Timezone to support timezones.
To set a timezone, use the timezone
option. Please reference to Moment Timezone for supported timezones and format
Below are the origional README from xdan/datetimepicker
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:
$.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
.
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
npm uninstall bower -g
npm install -g [email protected]
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