New release: Mobiscroll 5.1.1

What’s New

This release fixes a few issues with the event calendar invalid dates and times as well as improves the ISO8601 date parser.

Check out what changed below :point_down: and update to the latest version.

MOBISCROLL 5.1.1

Agenda

FIXED

  • We fixed the ISO8601 date string parser to accept timezone offsets without the : character between hours and minutes (e.g.: '2020-03-09T11:00-1100' ).

Datepicker

FIXED

  • We fixed an issue with the defaultSelection option, which could not be updated dynamically.
  • We made the moment date object detection more reliable, because it broke the date parsing logic, if a toDate method was added to the String prototype.
  • We fixed the ISO8601 date string parser to accept timezone offsets without the : character between hours and minutes (e.g.: '2020-03-09T11:00-1100' ).

Eventcalendar

FIXED

  • We fixed the event creation with drag or click, which worked on disabled days as well.
  • We fixed the event creation on touch screens, to remove the temporary event, if creation was rejected inside the onEventCreate event handler.
  • We made the moment date object detection more reliable, because it broke the date parsing logic if a toDate method was added to the String prototype.
  • We fixed the ISO8601 date string parser to accept timezone offsets without the : character between hours and minutes (e.g.: '2020-03-09T11:00-1100' ).
  • We fixed the navigation with prev/next arrows which did not always work correctly when the first day of the view was disabled.
  • We improved on the blocked out day display: if an invalid range starts and ends on the same day, it won’t disable the whole day on the calendar view.

Scheduler

FIXED

  • We fixed the event creation on touch screens, to remove the temporary event, if creation was rejected inside the onEventCreate event handler.
  • We made the moment date object detection more reliable, because it broke the date parsing logic if a toDate method was added to the String prototype.
  • We fixed the ISO8601 date string parser to accept timezone offsets without the : character between hours and minutes (e.g.: '2020-03-09T11:00-1100' ).
  • We fixed the end day display of a multi day event where the event still showed up on the grid, even if the end hour was before the grid start hour.
  • We fixed an error which was appearing during event drag or resize, when the allDay property of the view option was set to false .

For release notes please visit our release history.

PS. If you’re coming from v4: We have composed an upgrade guide for moving from Mobiscroll 4 to Mobiscroll 5.