Skip to content

asimdahall/Nepali-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nepali/Bikram Sambat date picker(vanilla js)

A library for nepali date picker.

Installation

Copy dateInput.js in your project file and add the script tag in your html file before your main js file.

Usage

NepaliDate({
  select: "#nepali-date", //(required)this is the css for your input box, you can use any kind of selector
  formatString: "dd-mm-yyyy" //(required)can be one of dd-mm-yyyy|yyyy-dd-mm|mm-yyyy-dd and also with the required symbol
});

Css

You must copy the css file and include in your project in order for the datepicker to work properly.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A library for implementing bikram sambat datepicker in vanilla js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published