- Info: This is the first BETA version! :3
- Info: This Repository is now completely independent, due to the removal of the last original lines of MrGuiseppes pureJSCalendar script!
- Add: Russian translation (ru).
- Add: Designs in LESS Format (I'm new at this Pre-Processing Stuff :/).
- Add: Support as Asynchronous Module Definition.
- Add: The default design has 3 new, and the "harx" design has one additional color schemes.
- Add: The new option
animateto enable and disable the fade and tooltip animations. - Add: The new option
dateBlacklistto turn thedateRangefrom a blacklist to a whitelist. - Add: The new option
dateStartto limit the calendar. - Add: The new option
dateEndto limit the calendar. - Add: The new option
localeto change the used locale by the calendar. - Add: The new option
timeHoursto set the default Hours on init (pass null for current). - Add: The new option
timeMintesto set the default Minutes on init (pass null for current). - Add: The new option
timeSecondsto set the default Seconds on init (pass null for current). - Add: The new option
todayto mark the current day within the calendar script. - Add: The new option
tooltipsto create tooltips on specific dates. - Add: The new option
viewDefaultto select the default view, when the calendar gets opened. - Add: The new option
viewDecadesenables the view "Decades" (Show different Decades). - Add: The new option
viewYearsenables the view "Years" (Show 12 Years - One Decade). - Add: The new option
viewMonthsenables the view "Months" (January - December). - Add: The new option
viewDaysenables the view "Days" (01 - 28|29|30|31). - Add: The new internal event trigger method
.trigger(). - Add: A new custom event listener, using
.on()and.trigger(). - Add: The new internal render and view methods
.renderCalendar(),.renderDatePicker(),.renderTimePicker(),.viewDecades(),.viewYears(),.viewMonths(),.viewDays(),.handleLabel(),.showTooltip()and.hideTooltip(). - Add: The new public method
.config()to get and set settings during the runtime. - Add: The new public methods
.switchView(),.browseView(),.switchDate()and.fetchDate()to control the calendar interface and fetch the current Date. - Add: The new public methods
.appendTooltip()and.appendRange()to append tooltips and date ranges during the runtime. - Update: The translations itself, as well as the translation / locale system behind.
- Update: Both designs has been updated to the new structure.
- Update: The main helper methods.
- Update: The calendar render process has been re-written, now it will always show 6 rows of dates, including days from the previous and next month!
- Update: The locale system is now usable per instance, the strings doesn't get replaced!
- Update: The option
classNamesallows nowtrueto copy the class names from the main element and false, to do nothing. - Update: The option
positionandstatichas been merged, so use "top", "left", "right" or or "bottom" to show the calendar on an absolute position relative to the passed element or pass any selector, which should be used as container. - Update: The option
weekStartsupports now also numbers (SUN = 0, MON = 1, ... SAT = 6)! - Update: The option
dateRangerequires now a new range format, the old one is NOT supported! - Update: The public methods
.switchMonth()andswitchYear()now just aliases for the main public method.switchDate(). - Update: The public methods
.open()and.close()now usingsetTimeout()instead of an interval. - Update: The public methods
.reload()reloads the same instance instead of creating a new one. - Update: The public event method
.on()has been updated and supports now a third argument. - Remove: The option
statichas been removed (usepositioninstead). - Remove: The option
zeroSecondshas been removed (usetimeSecondsinstead). - Remove: The option
statichas been removed (usepositioninstead). - Remove: The
isIE11andtail.IEvariables. - Remove: The old render functions
.renderDay(),.renderMonth()and.renderTime()has been replaced by the new.view*()and.render*()methods! - Remove: The
.createCalendar()method has been replaced by the new.view*()methods. - Bugfix: The
tbdytypo has been fixed. - Bugfix: Incorrect
colspanvalue on the thead element (on the Months View).
- Info: Official support for IE >= 9 starts now :(
- Add: New
clone()helper function as Fallback for IE >= 9. - Add: New
.IEhelper variable for Fallback use for IE >= 9. - Bugfix: Almost complete IE >= 9 support.
- Add: A new internal translate / string function called
__(). - Add: New
reload()method, which callsremove()and re-inits the DateTime Calendar. - Update: Use
thisto call the main DateTime IIFE function. - Update: Update the selected date when the input field has been filled out manually.
- BugFix: Fix Typo and wrong attribute name in
remove()method. - BugFix:
Enter/Returnexecutes all events, even if just one field is in focus. - Removed: The
dateRangefallback option has been removed, to clean the source up for the next major version.
- Info: npmJS Version Fix.
- Add: Spanish translation
- Info: Uses now some Vectors from GitHubs Octicons.
- Add: A minified version, minified with jsCompress.
- Add: A new "white" design, used with
tail.datetime.white.css(together with the main style sheet). - Add: A new
spanHTML element wraps each single day number. - Add: Events for
open,closeandselect(used withtail.DateTime::prefix). - Add: New helper methos
triggerto trigger tail.DateTime specific CustomEvents. - Add: New Option
static, which allows a selector or an element as wrapper for a static view. - Add: New option
classNames, which adds additional class names to the DateTime container. - Add: New option
startOpen, which opens the picker after init. - Add: New option
stayOpen, which disables some auto-closing events. - Add: New option
zeroSeconds, which sets the seconds to 0 on init. - Add: New method
remove()to remove the DateTime Picker. - Add: Current selected date class name and color.
- Add: A colon between hours, minutes and seconds (That was really important!).
- Add: The language strings für
de(German) andde_AT(Austrian German) - Update: The SVG arrows on the default theme has been changed into angle images (Octicon).
- Update: All SVG images has been changed into the Octicon vector graphics.
- Update: The constructor allows now
NodeLists andHTMLCollections and usesquerySelectorAllon strings. - Update: Renamed any
data-fox-*attribute names intodata-tail-*. - Update: The internal
elementinput variable has renamed intoe. - Update: The internal
calendarDateTime Picker variable has renamed intodt. - Update: The internal
optionsconfiguration variable has renamed intocon. - Update: The internal
view/currentvariables has been merged underview. - Update: The internal
selectvariable holds the last (current) selected Date and Time as Date object. - Update: The option
dateRangehas renamed intodateRangesand allows multiple arrays with Date Objects, Date Values (YYYY-mm-dd) and Week-Day names. - BugFix: Current Date object has been shared between each prototype instance.
- Info: Project has been renamed to
tail.DateTimeand adapted to the tail implementation.
- Add: Use the
data-fox-valueattribute for pre-defined dates, before trying to parse the input value. - Add: Helper Methods
Fox.hasClass,Fox.addClass,Fox.removeClass. - Add: Calendar Class Names
calendar-close,calendar-idle,calendar-open. - Update: Changed '‹' and '›' into SVG background images.
- Update: Stores now a (current) Date Object instead of the year / month number.
- Update: Some minimalistic style and script changes.
- BugFix: Double Use of the
data-fox-calendarattribute. - BugFix: Calendar closes after selecting a month.
- BugFix: The
switchYear()method doesn't supported a year argument.
- Update: Change Calendar Counter Calculation (CCCC)
- Update: Return
thison the public methods
- Initial Release (Fork of Pure JS Calendar](https://github.com/MrGuiseppe/pureJSCalendar))