Skip to content

Releases: GramThanos/jsCalendar

Version 1.4.5

12 Dec 12:33
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Added

    • Added extension add method jsCalendar.ext('example', {init : <function>, create : <function>, update : <function>});
    • Added methods freeze/unfreeze/isFrozen to prevent the calendars from re-rendering the UI PR#56 by [paxperscientiam](https://github.com/paxperscientiam]
  • Bugs

    • Fixed info.start parameter on onMonthRender (was not the first date)
    • Fixed selected dates not highlighted bug (depending on your timezone) (issue #44)
    • Fixed onDateRender incorrect isCurrentMonth, isPreviousMonth and isNextMonth (issue #45)
    • Fixed fdotw bug #42
    • Improved UX on dates outside min & max limits PR#58 by zangarmarsh
    • Fixed invalid date passed as date object not being detected
    • Fixed Catalan Language spelling mistake
  • New Languages

Version 1.4.4

05 May 17:29
b247b7a
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Added

    • API
      • Render handlers (based on PR #35 by jordanwallwork and Issue #40 by Daniel Rudolf)
        • Option and method onMonthRender
        • Option and method onDayRender
        • Option and method onDateRender
      • Default options were exposed on jsCalendar.options["option-name"]
      • Exposed jsCalendar.tools.getElement method (previously known as jsCalendar.prototype._getElement)
  • Fixed

    • Bugs
      • Fixed days locale bug of the setLanguage method (Issue #28)
      • Fixed a typo in French language (by Thomas Chapuis)
      • Fixed min-date comparison on previous month navigation (Issue #30)
      • Fixed compatibility with bootstrap (Issue #31)
      • Fixed classic micro theme days of the week width bug
      • Fixed not parsing dataset options on dynamic calendar creation
      • Fixed this not pointing to jsCalendar instance on events handlers (onDateClick and onMonthChange)
    • Languages
      • Fixed French language typo (by amstr4d)
  • Translations

Version 1.4.3

15 Sep 17:02
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Added
    • API
      • Added support for getting the object of an auto-jsCalendar calendar or saving one
        • var myCalendar = jsCalendar.get('#byId');
        • jsCalendar.set('@myCalendar', myCalendar);
        • jsCalendar.del('@myCalendar');
      • Added support for custom date string parser handlers
    • Themes
      • Micro Theme added
  • Fixed
    • Bugs
      • Fixed selected days bug
    • Languages
      • Fixed Japanese Language
      • Fixed Chinese Language
  • Translations
    • Added Portuguese Language (by goodeath)
    • Added Turkish Language (by mgvjet)
    • Added Slovak Language (by greatapo)
    • Added Hungarian Language
    • Added Norwegian Language (by SpellCraft)
    • Added Ukrainian Language (by ashep)

Version 1.4.2

03 Feb 12:30
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Fixed
    • Fixed date format bugs and added "day" keyword
      • Before fix
        • javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");
        • // returns "1eceDber Fay" (D = 1, m = D, d = F)
      • After fix
        • javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");
        • // returns "December Friday"
    • Fixed no zero fill for day 9 with format DD

Version 1.4.1

01 Jan 17:55
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Added
    • JsCalendar.tools.*
      • jsCalendar.tools.parseDate(date)
      • jsCalendar.tools.stringToDate alias of JsCalendar.tools.parseDate
      • jsCalendar.tools.dateToString(date, format, lang)

Version 1.4

03 Nov 22:26
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • 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

Version v1.4-beta.2

28 Aug 01:44
Compare
Choose a tag to compare
Version v1.4-beta.2 Pre-release
Pre-release

version date
added fixed translated

Changelog

  • Added
    • Added
      • jsCalendar.min(date) #4
      • jsCalendar.max(date) #4

Version 1.3

08 Jul 15:45
Compare
Choose a tag to compare

version date
added fixed translated

Changelog

  • Added
    • Support for setting the first day of the week (documentation)
      • With day name (based on the language selected)
        • firstDayOfTheWeek : "{day-name}"
      • With number (1-7 starting from Sunday)
        • firstDayOfTheWeek : "{number}" | {number}
      • Shortcut keyword
        • "fdotw" (from the initials... FistDayOfTheWeek)

Version 1.2

19 Mar 05:03
Compare
Choose a tag to compare

version date
added fixed translated

First public release of the library

Have fun coding!