Merge pull request #1381 from Elaniobro/rp-zero-w-es6-fix

RaspBerry Pi Zero W default calendar module fix
This commit is contained in:
Michael Teeuw 2018-08-17 12:18:31 +02:00 committed by GitHub
commit 7fb0ec12dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
---
## [2.5.1] - 2018-08-16
### Fixed
- Fix calendar parsing issue for Midori on RasperryPi Zero w, realted to issue #694.
## [2.5.0] - Unreleased
*This release is scheduled to be released on 2018-10-01.*

View File

@ -440,7 +440,7 @@ Module.register("calendar", {
listContainsEvent: function(eventList, event){
for(let evt of eventList){
for(var evt of eventList){
if(evt.title === event.title && parseInt(evt.startDate) === parseInt(event.startDate)){
return true;
}