Git Product home page Git Product logo

Comments (4)

hgschiller avatar hgschiller commented on September 26, 2024

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.

simatec avatar simatec commented on September 26, 2024

Unfortunately, I cannot recreate your problem. Here it is displayed correctly

image

from iobroker.schoolfree.

hgschiller avatar hgschiller commented on September 26, 2024

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.

ChristianPi99 avatar ChristianPi99 commented on September 26, 2024

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.
Bildschirm­foto 2022-12-23 um 08 58 01

from iobroker.schoolfree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.