• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Evening compliment during afternoon

Scheduled Pinned Locked Moved Bug Hunt
1 Posts 1 Posters 988 Views 1 Watching
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 Offline
    wast
    last edited by wast Jan 2, 2018, 4:41 PM Jan 2, 2018, 2:33 PM

    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
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy