Merge pull request #1847 from oemel09/fix-full-day-events

Fixes some events not being recognized as full day events
This commit is contained in:
Michael Teeuw 2019-12-31 13:20:18 +01:00 committed by GitHub
commit ddb01fca31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Module header now updates correctly, if a module need to dynamically show/hide its header based on a condition.
- Fix handling of config.js for serverOnly mode commented out.
- Fixed issue in calendar module where the debug script didn't work correctly with authentication
- Fixed issue that some full day events were not correctly recognized as such
## [2.9.0] - 2019-10-01

View File

@ -355,7 +355,7 @@ var CalendarFetcher = function(url, reloadInterval, excludedEvents, maximumEntri
* return bool - The event is a fullday event.
*/
var isFullDayEvent = function(event) {
if (event.start.length === 8) {
if (event.start.length === 8 || event.start.dateOnly) {
return true;
}