Comments (4)
I changed the following line (row 159) for testing:
old: arrOnlyholiday = arrNewHoliday.filter(d => d.starts_on != d.ends_on);
new: arrOnlyholiday = arrNewHoliday.filter(d => d.is_school_vacation == true);
With this change, it works fine!
However, I don't know if it might cause other errors.
Maybe you can check it out.
from iobroker.schoolfree.
Unfortunately, I cannot recreate your problem. Here it is displayed correctly
from iobroker.schoolfree.
The problem occurs exactly when it is only about one vacation day, as it is in NRW, there is only a vacation day on May 25th, 21st.
from iobroker.schoolfree.
I have the same problem that the first vacation day of the X-Mas school break isn't flagged as today = true. Screenshot was taken on Dec 23 at 9am.
from iobroker.schoolfree.
Related Issues (20)
- Internal server error, http status 500 HOT 1
- Update stable version in repo from 1.0.1 to 1.1.0
- Hinzufügen von weiteren Schulen HOT 4
- Update stable version in repo from 1.0.1 to 1.1.1 HOT 1
- Himmelfahrtsferien --> Pfingstferien HOT 1
- Aktualisiert nicht automatisch HOT 2
- Was ist zu tun , wenn die passende Schule nicht in der Auswahl ist ? HOT 3
- Update stable version in repo from 1.1.1 to 1.1.2 HOT 1
- Please convert README.md to plain english
- Bewegliche Ferientag man. integrieren HOT 2
- Update stable version in repo from 1.1.2 to 1.1.3 HOT 1
- Tägliche Fehlermeldung HOT 2
- Schulferien Österreich (plus weitere Länder)
- Update stable version in repo from 0.7.0 to 1.0.0
- Adapter seems not to work properly
- Additional, movable vacations HOT 1
- Release script: Action required
- Update stable version in repo from 1.0.0 to 1.0.1
- Think about to fix the issues found by adapter checker HOT 1
- Compatibility check to js-controller 4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.schoolfree.