#Kalendae - A framework agnostic javascript date picker
Kalendae will attempt to do something that nobody has yet been able to do: make a date picker that doesn't suck.
Please note that Kalendae is still a work in progress and should probably not be used on live websites. When completed Kalendae will have the following features:
- Fully portable, no dependencies. No jQuery, no Prototype, no MooTools; just add the script and the stylesheet and you're good to go.
- Fully and easily skinable. The default theme uses only one image file (a mask for the previous and next buttons), everything else is styled using CSS.
- Support single day, multiple day, or day range selection.
- Configurable number of months displayed at once.
- Display on the page as an inline widget, attached to one or more input fields, as a popup control, or as an overlay.
- Be attached to any page element, not just named elements.
- Configurable blackouts, either as an array of dates or via a callback function
- Output selected dates in a variety of formats
- Leverage moment.js for smart date parsing.
- Support IE8 and above.
- Keep it simple.
I might include a jquery plugin as an optional dependency, but that will be the last thing I implement.
Kalendae is released under an MIT license and is freely distributable.
##Screenshots
Single month, single day selection, no blackouts:
Two month, multiple selection with weekends blacked out:
Two month, range selection with weekends blacked out:
##Building Kalendae
The Kalendae source code is assembled from multiple individual files. A standard GNU makefile is included to compile the files together into the finished product.
To build Kalendae, navigate to the directory containing this readme file in the system terminal and run the make
command.
To create a minified version, run make minified
. If the minified file is blank, run make minified-test
to see what errors Google Closure Compiler is throwing.