MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Evening compliment during afternoon

    Bug Hunt
    1
    1
    803
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wast last edited by wast

      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)

      array.

      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.

      Configuration:

      {
                              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?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy