Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.05 KB

CHANGELOG.md

File metadata and controls

40 lines (27 loc) · 1.05 KB

Changelog

All jsCalendar changes will be documented in this file.

[1.4.0] - 2017-11-04

Added

  • jsCalendar.version
  • calendar.clearSelected() alias of calendar.clearselect()
  • calendar.isSelected(date)
  • calendar.isVisible(date)
  • calendar.isInMonth(date)
  • calendar.getSelected(options)
  • support to get target with selectors
    • ex. target string "#myelement" will get the element with id myelement
  • min(date) // Set a max date for the calendar
  • max(date) // Set a min date for the calendar

Fixed

  • duplicate dates when time changes (ex. 29/10/2017)
  • string dates that do not exist throw error
    • ex. new jsCalendar(document.createElement('div'), "31/2/2017"); now throw error

[1.3.0] - 2017-07-08

Added

  • Support for setting the first day of the week
    • firstDayOfTheWeek : "{day-name}" // Based on the language sellected
    • firstDayOfTheWeek : "{number}" | {number} // 1-7 starting from Sunday
    • alias keyword : "fdotw" (from the initials FistDayOfTheWeek)

[1.2.0] - 2017-03-19

Changed

  • Public release of the library.