• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Calendar showing "in X day" wrongly

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 6 Posters 12.3k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    tajno
    last edited by Nov 14, 2016, 10:06 PM

    Thanks for your explanation.

    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…?

    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.

    Very strange… Sorry that I can’t help you so far.

    C 1 Reply Last reply Nov 14, 2016, 10:13 PM Reply Quote 0
    • C Offline
      creepwood @tajno
      last edited by Nov 14, 2016, 10:13 PM

      @tajno

      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

      1 Reply Last reply Reply Quote 0
      • C Offline
        Cato Module Developer
        last edited by Cato Nov 14, 2016, 10:42 PM Nov 14, 2016, 10:38 PM

        Here is a screenshot from my mirror earlier tonight (Monday at 21:47) that shows two activities in 2 and 3 days:

        alt text

        They are both in the same Exchange calendar and on the same day (Thursday) as you can see here:

        alt text

        If this isn’t a bug, then I don’t know.

        Yes, I know that the culprit is probably Moments.js, but …

        1 Reply Last reply Reply Quote 1
        • C Offline
          Cato Module Developer
          last edited by Nov 14, 2016, 10:40 PM

          Btw, the “correct” answere, in my eyes, is three days, not two.

          1 Reply Last reply Reply Quote 1
          • C Offline
            creepwood
            last edited by Nov 14, 2016, 11:01 PM

            Clock just turned to the 15th november here and my friends birthday is “today”, calendar is still saying tomorrow.

            C 1 Reply Last reply Nov 14, 2016, 11:03 PM Reply Quote 0
            • C Offline
              Cato Module Developer @creepwood
              last edited by Nov 14, 2016, 11:03 PM

              @creepwood Did you try to restart mirror or manually refresh? I guess updates only happen on the interval you’ve configured…(?)

              C 1 Reply Last reply Nov 14, 2016, 11:05 PM Reply Quote 0
              • M Offline
                Matthes0815
                last edited by Nov 14, 2016, 11:05 PM

                That’s almost what I posted in “Bug Hunt” (https://forum.magicmirror.builders/topic/915/today-on-november-1st-the-calendar-labels-a-birthday-on-october-31st-as-two-days-ago) a while ago.

                It might be mathematically right, but intuitively it’s wrong.
                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”.
                That’s irritating.

                But your problem, @creepwood, might be different. Please check the date/time of your raspi. ;)

                1 Reply Last reply Reply Quote 1
                • C Offline
                  creepwood @Cato
                  last edited by creepwood Nov 14, 2016, 11:06 PM Nov 14, 2016, 11:05 PM

                  @Cato yeah I was a little bit too quick there. it’s now changed to “today”.

                  @Matthes0815 Oh the time on the hardware is correct, otherwise the clock wouldn’t have shown right.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  2 / 2
                  • First post
                    17/20
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy