mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
Merge pull request #1381 from Elaniobro/rp-zero-w-es6-fix
RaspBerry Pi Zero W default calendar module fix
This commit is contained in:
commit
7fb0ec12dd
@ -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/).
|
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
|
## [2.5.0] - Unreleased
|
||||||
|
|
||||||
*This release is scheduled to be released on 2018-10-01.*
|
*This release is scheduled to be released on 2018-10-01.*
|
||||||
|
@ -440,7 +440,7 @@ Module.register("calendar", {
|
|||||||
|
|
||||||
|
|
||||||
listContainsEvent: function(eventList, event){
|
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)){
|
if(evt.title === event.title && parseInt(evt.startDate) === parseInt(event.startDate)){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user