<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Calendar showing "in X day" wrongly]]></title><description><![CDATA[<p dir="auto">I started configuring and testing MMM a couple of days ago. I set it up with a couple of calendars, my facebook birthday feed for instance. For some reason it’s showing for example “in one day” when it’s really in two days. It’s shows “Tomorrow” correctly,</p>
<p dir="auto">so let’s say today is the 8th. I have one friends birthday on the 9th and one on the 10th. On the one that’s having birthday tomorrow it says tomorrow but on the one having her birthday on the 10th it says “in one day” even though it’s really two days. The exact same thing happend on the 7th when it showed the person having her birthday on the 9th it said “in one day”</p>
<p dir="auto">I thought it might’ve been something with the Swedish translation on the mod but I changed to english now and it’s the same issue. Could it be something about the time zone?</p>
<p dir="auto">EDIT: I just checked the timezone in raspi-config and it’s the right one CET (GMT+1)</p>
]]></description><link>https://forum.magicmirror.builders/topic/956/calendar-showing-in-x-day-wrongly</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 17:43:20 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/956.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Nov 2016 22:22:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 23:06:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cato" aria-label="Profile: Cato">@<bdi>Cato</bdi></a> yeah I was a little bit too quick there. it’s now changed to “today”.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthes0815" aria-label="Profile: Matthes0815">@<bdi>Matthes0815</bdi></a> Oh the time on the hardware is correct, otherwise the clock wouldn’t have shown right.</p>
]]></description><link>https://forum.magicmirror.builders/post/7967</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7967</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 23:06:36 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 23:05:26 GMT]]></title><description><![CDATA[<p dir="auto">That’s almost what I posted in “Bug Hunt” (<a href="https://forum.magicmirror.builders/topic/915/today-on-november-1st-the-calendar-labels-a-birthday-on-october-31st-as-two-days-ago">https://forum.magicmirror.builders/topic/915/today-on-november-1st-the-calendar-labels-a-birthday-on-october-31st-as-two-days-ago</a>) a while ago.</p>
<p dir="auto">It might be mathematically right, but intuitively it’s wrong.<br />
I have a meeting on Saturday and one on Sunday, the one on Saturday is “in 4 days”, the one on Sunday is “in 6 days”.<br />
That’s irritating.</p>
<p dir="auto">But your problem, <a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a>, might be different. Please check the date/time of your raspi. ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/7966</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7966</guid><dc:creator><![CDATA[Matthes0815]]></dc:creator><pubDate>Mon, 14 Nov 2016 23:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 23:03:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a> Did you try to restart mirror or manually refresh? I guess updates only happen on the interval you’ve configured…(?)</p>
]]></description><link>https://forum.magicmirror.builders/post/7965</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7965</guid><dc:creator><![CDATA[Cato]]></dc:creator><pubDate>Mon, 14 Nov 2016 23:03:38 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 23:01:35 GMT]]></title><description><![CDATA[<p dir="auto">Clock just turned to the 15th november here and my friends birthday is “today”, calendar is still saying tomorrow.</p>
]]></description><link>https://forum.magicmirror.builders/post/7964</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7964</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 23:01:35 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 22:40:19 GMT]]></title><description><![CDATA[<p dir="auto">Btw, the “correct” answere, in my eyes, is three days, not two.</p>
]]></description><link>https://forum.magicmirror.builders/post/7963</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7963</guid><dc:creator><![CDATA[Cato]]></dc:creator><pubDate>Mon, 14 Nov 2016 22:40:19 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 22:42:17 GMT]]></title><description><![CDATA[<p dir="auto">Here is a screenshot from my mirror earlier tonight (Monday at 21:47) that shows two activities in 2 and 3 days:</p>
<p dir="auto"><img src="https://lh3.googleusercontent.com/YcBwavFnjy5MjCgaBNp6zgEjGH6pXG37S2YIwepImFaGnT0ZEiFK7Zsc53bn1Iy6wLcp7TPngCLkmiJRbmolDqnEces6Wuda9PYTBluAdIFi2xrtgpq8JM6v2plk7U_Gi_1Jg19u_r8fPC7HKWrz07CWXoOlJ8xrWb045QyynGWsiGrObS708Y_FNE3uvVgB1lrh-62e9OKZ-KjvL3aDXWbULI6lnU5-eE5FV9alH4E4gVPoRMnzBLzPvAhBd4XWvnPJNRqgixr3eTHgYAP2UPUKBpQmNkLvSjrDEO99mp3KUj9b4vYM05gY2Z-TtCZ9u4odgJbO4__2K8Pz5PwQqVefMB_NG3IUVVfeFVQaXyM4EkY5tKdyDVzIAg8YYV5voQdu6MsrHk_0mbrm_-FJBim2CMGsF9EJ43XNyCAGM1ChCiugbGyiejOV-9CMijkgpH87QBALBmqovJ6qEqfniTrNuJn_Av0tx8zO4iSNvYfeMIwlcxqNj4AiT2FkwcQQa8uX2dluvvnBcxajgtLcrO5DhwLfQpp3V9cv3mtqc5IMP6puY_h9niR4CuXutLnit2lEZrJYkDaZASyDnZ-K7j89TVrW7dcZiNsgZDMImG9S2wKY5A=w1208-h762-no" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">They are both in the same Exchange calendar and on the same day (Thursday) as you can see here:</p>
<p dir="auto"><img src="https://lh3.googleusercontent.com/LUpVZjuSagfBsrcpe6RYUWhgqBXH2IldK2sS99LzrEUad0DShwAWlaqxOFqaOaT1KRzQ1sgO13rR8zKpxMvN9tzacKQ3SPNBU_vX_JwV0VJ_S2kHlUBnChp8FqWvMC7VghaHVo21W_8G9vQpt6pREdAiah6aL5lgORm-mSWYH-JxFal32AqaBtdxL7HAs-wjR8JlOPPFIkatX2TXFs4qCQXsIKEBEc1Cp6_XoEWxOmpHBlHp3-9-q9Aa3adbyAWcYn_RPuz-LxWel-a51C6RNFNwkqI972GnEoByf_Aa2-czJKhTu8GM6UMaItHOf1nmGKuL1ocqFqD-c6P85vgnnktfxYuX0ca62sFRx6v56mgmqZcdoTBf6x0Ir9ZZDCgxS-ngJpeTUhuaQL3OI7Pk-eTaeCxlKWfY4-zhiYnBqyC3LEGkIPiCwPtXChX8xlmFn1rd2m7M_u-5m0bT9XSOBICjEUBNvIvIPV0cz_BlmfesYtE7-zLTSw7UUJB16oMAKa82eezp4rXJJ1DZjm1vNH9eyt4Tv49FRCzqDgr2vLFE4uLqLOLDmlcB9XrBffhYtxPlyA-3hGBLeW8YafwjdmC8dve8p-F5XbGg89wIJW9bW5GhWg=w468-h750-no" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">If this isn’t a bug, then I don’t know.</p>
<p dir="auto">Yes, I know that the culprit is probably Moments.js, but …</p>
]]></description><link>https://forum.magicmirror.builders/post/7962</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7962</guid><dc:creator><![CDATA[Cato]]></dc:creator><pubDate>Mon, 14 Nov 2016 22:42:17 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 22:13:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tajno" aria-label="Profile: tajno">@<bdi>tajno</bdi></a></p>
<p dir="auto">I have almost no event/birthday that isn’t in my own timezone (CET). There is a birthday happening in about 50 minutes (when it’ll be 15th november) and it says tomorrow. I will keep an eye on the event on nov 19th how that’s presented</p>
]]></description><link>https://forum.magicmirror.builders/post/7961</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7961</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 22:13:16 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 22:06:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your explanation.</p>
<p dir="auto">You talk alot of birthdays, may it be possible that the person lives in another timezone? And so facebook  - somehow - get a mess, like its more than 24 hours for them but less than, like 48 or 36 for us? At least facebook looks about “where you are” about a birthday., not what time it is over there…?</p>
<p dir="auto">Im just curious because my calendars does not provide any “tomorrow” - only a “today”. The rest is showed like “in 2 days” For Birthdays I use an own hosted calendar on my webspace because I had to many alerts provided by facebook - so I checked an old photo and there I have also those values “Tomorrow” and so on…  Maybe I try the event calendar and looks what happens at my mirror. Wunderlist provides also a “Tomorrow”, as it shown in the app. Facebook shows thoes values also on theyr page.</p>
<p dir="auto">Very strange… Sorry that I can’t help you so far.</p>
]]></description><link>https://forum.magicmirror.builders/post/7960</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7960</guid><dc:creator><![CDATA[tajno]]></dc:creator><pubDate>Mon, 14 Nov 2016 22:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 21:15:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tajno" aria-label="Profile: tajno">@<bdi>tajno</bdi></a> I have four different calendars two from a google account (hollidays and my own calendar) and two from facebook (birthdays and events)</p>
<p dir="auto">I have a facebook event in five days (although the start time of it is passed so it’s actually less than 5 x 24h) is correct, while a birthday that’s on the 18th which is also in five days according to MMM. So something is off. according the the ICS file that’s subscribed there are absolute dates on when something happens. Since the calendars that are imported have absolute time stamps there’s really nothing wrong with them, it’s on the interpretation end (MMM)</p>
<p dir="auto">So the closest birthday I have in my calendar is on the 18th of november, something that occurs in 3 days plus what’s left on this day which is less than two hours. That’s happening in in 74h while MMM-calendar says it’s in five days.</p>
<p dir="auto">My event that’s on the 19th (Saturday) november at 19h00 is in five days and 21h, five days is correct tuesday+wednesday+thursday+friday+saturday.</p>
<p dir="auto">I’m wondering if this changes to four days after midnight or of it changes to fourdays at 19h00 on tuesday. I will have to check that when I wake up tomorrow.</p>
<p dir="auto">I’m really not interested in how many 24h periods is left, I want to know how many actual days are left.</p>
]]></description><link>https://forum.magicmirror.builders/post/7957</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7957</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 21:15:33 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 21:04:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a></p>
<p dir="auto">It’s not that, I don’t have this problem - Never seen a “in 1 day”.  Maybe its a wrong value provided by your calendar? Do you have multiple calendars - and it appears at everyone?</p>
<p dir="auto">I use now 8 different Calendars and I don’t get that issue - So I can’t say anything about it.</p>
]]></description><link>https://forum.magicmirror.builders/post/7955</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7955</guid><dc:creator><![CDATA[tajno]]></dc:creator><pubDate>Mon, 14 Nov 2016 21:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 20:40:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tajno" aria-label="Profile: tajno">@<bdi>tajno</bdi></a>  I don’t develop professionally any more but I’m aware of the issue with timezones but this should not be a big deal and from what I understand the MMM dev is Netherlander which is the same timezone as I’m in.</p>
<p dir="auto">I’m baffled that nobody else seem to think this is an issue when it says in x day when it actually seem to mean x + 1 day.</p>
]]></description><link>https://forum.magicmirror.builders/post/7954</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7954</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 20:40:43 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 20:35:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a></p>
<p dir="auto">I’m not a dev, but a workmate shows me the followed video about development and timezone(s), since then - I never mess with a dev about this thing again - Maybe it helps you to understand that those thins “aren’t just easy” as we think from our point of view :).</p>
<p dir="auto"><a href="https://www.youtube.com/watch?v=-5wpm-gesOY" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=-5wpm-gesOY</a></p>
<p dir="auto">Have fun, its a nice insight.</p>
]]></description><link>https://forum.magicmirror.builders/post/7953</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7953</guid><dc:creator><![CDATA[tajno]]></dc:creator><pubDate>Mon, 14 Nov 2016 20:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 20:16:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a> If you’re not happy with the way the module calculates the dates, you’re welcome to write your own.</p>
<p dir="auto">See, this way it’s not an argument. It’s a suggestion.</p>
]]></description><link>https://forum.magicmirror.builders/post/7950</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7950</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Mon, 14 Nov 2016 20:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Mon, 14 Nov 2016 17:31:52 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">If you want the calculations to be done different,</p>
</blockquote>
<p dir="auto">I’m adamant that however you turn and twist this argument. it’s not “different” it’s incorrect. “tomorrow” and “in 1 day” means the same thing. If MMM says it isn’t, MMM is wrong.</p>
]]></description><link>https://forum.magicmirror.builders/post/7941</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7941</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Mon, 14 Nov 2016 17:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Sun, 13 Nov 2016 06:25:09 GMT]]></title><description><![CDATA[<p dir="auto">Guys, please read what I said above: <strong>it’s the way Moment.js calculates time</strong>. The actual module does not do any kind of time calculations, it simply passes the information to and from Moment.js.</p>
<p dir="auto">If you want the calculations to be done different, then please write a new module, using a different library, and submit a PR request. All of MagicMirror uses the Moment.js library, for any kind of time calculations.</p>
]]></description><link>https://forum.magicmirror.builders/post/7860</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7860</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Sun, 13 Nov 2016 06:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Wed, 09 Nov 2016 16:12:26 GMT]]></title><description><![CDATA[<p dir="auto">So crassly speaking, the module isn’t really working correctly.</p>
<p dir="auto">There are different ways to calculate it with the right result, it just depends on how you want to do it. I’m just surprised that it isn’t already working like that, I can’t be the only one finding this an issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/7710</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7710</guid><dc:creator><![CDATA[creepwood]]></dc:creator><pubDate>Wed, 09 Nov 2016 16:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Wed, 09 Nov 2016 05:16:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> I agree with OP that this is an unnatural way of counting days for humans.</p>
<p dir="auto">Wouldn’t it be possible to do different calculations based on if it’s more or less that 24 hours?</p>
]]></description><link>https://forum.magicmirror.builders/post/7695</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7695</guid><dc:creator><![CDATA[Cato]]></dc:creator><pubDate>Wed, 09 Nov 2016 05:16:09 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Wed, 09 Nov 2016 04:35:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> is correct here. It calculates based on midnight. It’s in “one day” starting at “the next closest midnight”. That’s simply the way moment.js calculates time.</p>
]]></description><link>https://forum.magicmirror.builders/post/7692</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7692</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Wed, 09 Nov 2016 04:35:04 GMT</pubDate></item><item><title><![CDATA[Reply to Calendar showing "in X day" wrongly on Wed, 09 Nov 2016 03:14:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creepwood" aria-label="Profile: creepwood">@<bdi>creepwood</bdi></a> It’s possible that the script library counts in a more literal fashion than people do. In your example, your friend’s birthday on the 10th is “in two days” as people describe it. But it’s technically less than 48 hours. That might make the calculations get weird.</p>
<p dir="auto">[shrug] It’s a theory.</p>
]]></description><link>https://forum.magicmirror.builders/post/7691</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/7691</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Wed, 09 Nov 2016 03:14:36 GMT</pubDate></item></channel></rss>