Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

My bootstrap date/time picker

A simple, no-frills date/time picker for use with Twitter Bootstrap. Based on the work of Stefan Petre, who made a wonderful datepicker. I merely added some features (customizable names of weekdays and months for international use, support for date/time).

Datepicker screenshot

Use

Programmatically:

$("input").datepicker({
	noDefault: false, // set this to true if you don't want the current date inserted if the value-attribute is empty
	format: 'mm/dd/yyyy hh:ii:ss',
	weekStart: 1,
	days: ["zo","ma","di","wo","do","vr","za"],
	months: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]
});

Or by using the data-datepicker-format attribute.

<input type="text" data-datepicker-format="dd/mm/yyyy" data-datepicker-nodefault="false" />

About

A date+timepicker for use with Twitters bootstrap

Resources

Releases

No releases published
You can’t perform that action at this time.