Read the statement by Michael Teeuw here.
MMM-doomsDay - The countdown module,
-
{ module: 'MMM-doomsDay', position: 'top_right', // This can be any of the regions, best results in center regions config: { doomsDay: "2017-03-03 24:00:00", // the end day of the countdown, toWhat: 'Pay Day is in', // the title of your countdown event present: 'Benjamin Pile!', updateInterval: 1 * 3600000, singular: 'more day!', // what it should say when it's only one day left, default is `Day Left` plural: 'more days', // what it should say when it's more days left, default is `Days Left` } },
-
Just glanced at the mirror and doomsDay is now reporting 1 more day. I don’t know at what time that occurred.
-
Reporting the correct
present:message this morning. I’ll now set a week long countdown and see how that goes. I’ll try not to bother you anymore -
@broberg said in MMM-doomsDay - The countdown module,:
And thank you for all the beta testing!
I know I said I would try not to bother you anymore with this but . . .
I set
doomsDay: "2017-03-15 24:00:00",which is the Ides of March, just as a test. I keep testing because I really want this module to work for me. Well, as of 8:50am today, 2017-03-04. the module is reporting 12 More Days instead of 11. The last test didn’t update the Days Left until late morning, early afternoon. I wouldn’t mind if it was slow in updating by an hour or two but it’s no good to me if it’s 12 hours behindSorry
-
@Mykle1 Okay, do a new
git pullnow. I have altered the method of rounding the numbers, which I should have done from the beginning if I knew better :PAnyhow. Try the new version!
-
@broberg said in MMM-doomsDay - The countdown module,:
Anyhow. Try the new version!
I’ll get it right now. Thanks for dealing with this for me.
Did the
git pullI changed my test to the 7th as a 3 day test. I didn’t want to wait till the 15th to see if it was working correctly. It’s reporting 3 Days Left so that’s an improvement right away. I’ll check it in the morning. Thanks again
-
@broberg date and time stuff can get really painful, that’s why I’m using moment for those tasks. there are some clever brains that thought about all kind of edge cases etc. you might want to check it out http://momentjs.com/docs/#/displaying/to/
-
@strawberry-3.141 Yeah I’ve noticed. If this module keeps misbehaving I will look in to the moment.js instead. looka a lot simpler, thanks for the link!
-
@strawberry-3.141
Absolutely right, moment.js makes life a lot easier when it comes to times and dates. -
Hi there! I just posted a PR to you on github, adding the “passed” text via the config. And also let the “toWhat” event to still be shown when the event has passed (makes more sense i think if you use the “passed” text.) :)
-
@Snille There is already a text being displayed once the day has passed, not configurable, but, there is one :D
-
@broberg I know, that’s why I only made it configurable. :) Then ppl don’t have to change your code to set their own message. :)
-
@broberg said in MMM-doomsDay - The countdown module,:
If this module keeps misbehaving
Hey Bro, I just wanted to report that my last 3 day test worked correctly, without a hitch. When I looked at my mirror this morning, it said, “Did it work?” :thumbsup_tone1:
-
Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!
-
@broberg said in MMM-doomsDay - The countdown module,:
Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!
So I should do a git pull?
-
@Mykle1 Only if you feel like it!
But the latest is the coolest, don’t you think? ;) -
@broberg said in MMM-doomsDay - The countdown module,:
Only if you feel like it!
Of course I feel like it.
But the latest is the coolest, don’t you think?
No doubt! I’m a huge fan of this module. :thumbsup:
-
@broberg
Actually, I won’t know for 26 days. I’ll let you know then! -
@Mykle1 Hahaha, fair enough :thumbsup:
-
My MagicMirror is updating around 23:00 hour, and can’t find what I did wrong. Has nothing to do with the time zone (I think).
This is what I have in my config.js
{ module: 'MMM-doomsday', position: 'top_center', config: { doomsDay: '2017-03-31 24:00:00', toWhat: 'End of month' } },I even made a test file in my browser, and then it’s is working as aspected.
Does any one now where the problem is.
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
