bootstrap-datepicker-year-offset
v1.0.10
Published
Modified version of bootstrap-datepicker (Buddhist Era calendar support)
Downloads
38
Readme
Bootstrap Datepicker Year Offset
This is a modified version of bootstrap-datepicker (Buddhist Era calendar support). Original source code is from http://www.javascriptthai.com/?p=2345.
First intention of this project is just make possibility to install this script by npm install bootstrap-datepicker-year-offset --save
in Angular CLI project.
How to publish
npm publish .
Usage (in Angular CLI project)
npm install bootstrap-datepicker-year-offset --save
- include this script in
.angular-cli.json
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap-datepicker-year-offset/dist/js/bootstrap-datepicker-year-offset.js",
"../node_modules/bootstrap-datepicker/dist/locales/bootstrap-datepicker.th.min.js"
],