Read the statement by Michael Teeuw here.
MMM-doomsDay - The countdown module,
-
@pjkoeleman said in MMM-doomsDay - The countdown module,:
With time set to 23:59 the module is changing at 0:44. The question is were is the offset off 45 minutes comming from ?
I’m not trying to answer for broberg. It’s his module, but I use this module and I’ve had great success with it. It’s possible that the module is changing at 0:44 if you have the default
updateInterval: 60 * 60 * 1000,
. If you started the mirror at 44 minutes past any hour, then it wouldn’t update until the next 44 minute mark. If this is your case, then your module updated at 23:44 and not again until 0:44. The logical solution would be to set theupdateInterval:
to a smaller value or launch the module exactly on the hour, if that’s even possible. I don’t know if the module is set to always update at 24:00. If it’s not, then I would humbly request that it be added to the module. -
@Mykle1 You are right, changed it to 10 minutes. now have to wait what happens.
-
@pjkoeleman said in MMM-doomsDay - The countdown module,:
You are right, changed it to 10 minutes. now have to wait what happens
Ok, let me know how it goes. I’m never awake at midnight so I only see the module in the mornings, and it’s been correct all along for me.
-
@Mykle1 Now it was changing at 00:06 hour so this module works ok with the right config settings.
-
@pjkoeleman said in MMM-doomsDay - The countdown module,:
this module works ok with the right config settings.
Good! I like this module. I’ve been using for a month now for all sorts of reminders. It’s a pretty nifty little module!
-
@broberg, thanks for the hard work :) I needed a “days up” counter for the lady friend. I modified the MMM-doomsDay.js so that it shows the number of days that we’ve been dating. I plan on changing the days to “X years, X days” sometime this week but wanted to say thanks!
edit: nice tag/username
-
@bberg115 Nice :D (easy to remember the anniversary then haha ;) )
My username is my lastname, so it’s easy to remember hahaha
-
Having an issue with the “toWhat” sticking.
I can not get it to change from “Leaving for Paris!”. See my code below:{
module: ‘MMM-doomsDay’,
position: ‘bottom_right’, // This can be any of the regions, best results in center regions
config: {
doomsDay: “2017-05-07 24:00:00”, // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date
ToWhat: ‘Joeys Wedding in TN!’,
updateInterval: 1 * 3600000,
singular: ‘more day!’, // what it should say when it’s only one day left, default isDay Left
plural: ‘more days’, // what it should say when it’s more days left, default isDays Left
// See ‘Configuration options’ for more information.
}
}, -
-
Thanks! It worked but that was copied and pasted from GitHub. May want to make the change.