MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Evening compliment during afternoon

  • Platform: Raspberry Pi Zero W, Linux pi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux

    Node Version: v.4.2.1

    MagicMirror Version: Latest (2018-01-01)


    Steps to Reproduce: explained in description.

    Expected Results: I expected not to see evening compliment as code says that it’s evening after 17:00.

    Actual Results: explained in description.


                            module: "compliments",
                            position: "bottom_bar",
                            config: {
                                    updateInterval: 12000,
                                    compliments: {
                                            anytime: [
                                                    "anytime text"
                                            rain: [
                                                    "rain text"
                                            morning: [
                                                    "morning test"
                                            evening: ["evening test"]

    Additional info: I don’t know if it was the same before the update. Also, “date” in terminal returns afternoon time too.

    How to debug this? How to find out what number is behind “hour” variable at that moment?

Log in to reply