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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login