A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
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)
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?