Releases: GramThanos/jsCalendar
Releases · GramThanos/jsCalendar
Version 1.4.5
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]
- Added extension add method
-
Bugs
- Fixed
info.start
parameter ononMonthRender
(was not the first date) - Fixed selected dates not highlighted bug (depending on your timezone) (issue #44)
- Fixed
onDateRender
incorrectisCurrentMonth
,isPreviousMonth
andisNextMonth
(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
- Fixed
-
New Languages
- Added Polish Language (by avatec)
- Added Arabic Language (by JefferyHus)
- Added Thai Language (by notjiam)
- Added Korean Language (by JefferyHus)
- Added Occitan Language (by Quentin PAGÈS)
- Added VietNamese Language (by Nguyen Duy Dien)
Version 1.4.4
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
- Option and method
- Default options were exposed on
jsCalendar.options["option-name"]
- Exposed
jsCalendar.tools.getElement
method (previously known asjsCalendar.prototype._getElement
)
- Render handlers (based on PR #35 by jordanwallwork and Issue #40 by Daniel Rudolf)
- API
-
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
andonMonthChange
)
- Fixed days locale bug of the
- Languages
- Fixed French language typo (by amstr4d)
- Bugs
-
Translations
- Languages
- Added Dutch Language (by mikedebruijn)
- Added Catalan Language (by antonstsk)
- Added Swedish Language (by olssonm)
- Added Belarusian Language (by vorvule)
- Languages
Version 1.4.3
Changelog
- Added
- API
- Added support for getting the object of an
auto-jsCalendar
calendar or saving onevar myCalendar = jsCalendar.get('#byId');
jsCalendar.set('@myCalendar', myCalendar);
jsCalendar.del('@myCalendar');
- Added support for custom date string parser handlers
- Added support for getting the object of an
- Themes
- Micro Theme added
- API
- Fixed
- Bugs
- Fixed selected days bug
- Languages
- Fixed Japanese Language
- Fixed Chinese Language
- Bugs
- 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
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"
- Before fix
- Fixed no zero fill for day 9 with format DD
- Fixed date format bugs and added "day" keyword
Version 1.4.1
Version 1.4
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 idmyelement
- ex. target string
- 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
- ex.
Version v1.4-beta.2
Version 1.3
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)
- With day name (based on the language selected)
- Support for setting the first day of the week (documentation)
Version 1.2
First public release of the library
- Full documentation
- Languages documentation
- Included : English [en], Spanish [es], French [fr], German [de], Greek [gr], Italian [it], Japanese [ja], Russian [ru], Chinese [zh]
Have fun coding!