MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. pintail105
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    pintail105

    @pintail105

    0
    Reputation
    6
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    pintail105 Unfollow Follow

    Latest posts made by pintail105

    • RE: Recurring events after midnight UTC one day off

      @sdetweil : Here’s how I installed the develop branch:
      git clone -b develop https://github.com/MichMich/MagicMirror
      cd MagicMirror/
      npm install
      cp …/…/MagicMirror_mystuff/config.js config/ # I had a made a copy of my main config.js here.
      npm run start

      No rush. Just wondering if this is a bug and if I should log it as one. I’m happy to help with code as I’m able to. But, I don’t have experience with nodejs and the libraries.

      Thank you!

      posted in Bug Hunt
      P
      pintail105
    • Recurring events after midnight UTC one day off

      I’m in US Central Time zone (GMT-0600). It seems recurring events that start after 6PM local time (i.e., midnight UTC) have dates adjusted such that the event time is correct, but the date of the event is one day sooner.

      I’ve pulled the develop branch and the problem still exists.

      Here’s an example DEBUG log (private info redacted). In this example the start datetime is 6:30PM Wednesday CST (01:30 Thursday UTC), but the dates returned are all 6:30PM Tuesday (01:30 Wednesday UTC).

      [18.01.2021 19:05.08.563] [DEBUG] have entries
      [18.01.2021 19:05.08.564] [DEBUG]
      event={“type”:“VEVENT”,“params”:[],“start”:“2021-01-07T01:30:00.000Z”,“datetype”:“date-time”,“end”:“2021-01-07T03:00:00.000Z”,“rrule
      “:{”_cache”:{“all”:false,“before”:[],“after”:[],“between”:[]},“origOptions”:{“dtstart”:“2021-01-07T01:30:00.000Z”,“freq”:2,“wkst”:{"
      weekday":6},“interval”:2,“byweekday”:[{“weekday”:2}]},“options”:{“freq”:2,“dtstart”:“2021-01-07T01:30:00.000Z”,“interval”:2,“wkst”:6
      ,“count”:null,“until”:null,“bysetpos”:null,“bymonth”:null,“bymonthday”:[],“bynmonthday”:[],“byyearday”:null,“byweekno”:null,“byweekd
      ay”:[2],“bynweekday”:null,“byhour”:[1],“byminute”:[30],“bysecond”:[0],“byeaster”:null}},“dtstamp”:“2021-01-19T01:05:06.000Z”,“uid”:"
      redacted@google.com",“created”:“2020-12-28T00:16:14.000Z”,“description”:“”,“lastmo
      dified”:“2020-12-28T00:16:14.000Z”,“location”:“”,“sequence”:“0”,“status”:“CONFIRMED”,“summary”:“Event summary”,“transparency”:“O
      PAQUE”}
      [18.01.2021 19:05.08.564] [DEBUG] start=Wed Jan 06 2021 19:30:00 GMT-0600 (Central Standard Time) end=Wed Jan 06 2021 21:00:00 GMT-
      0600 (Central Standard Time)
      [18.01.2021 19:05.08.565] [DEBUG] between=Mon Jan 18 2021 19:05:08 GMT-0600 (Central Standard Time) to Mon Jan 17 2022 23:59:59 GMT-0600 (Central Standard Time)
      [18.01.2021 19:05.08.570] [DEBUG] title=Event summary dates=[“2021-01-20T01:30:00.000Z”,“2021-02-03T01:30:00.000Z”,“2021-02-17T01:30:00.000Z”,“2021-03-03T01:30:00.000Z”,“2021-03-17T01:30:00.000Z”,“2021-03-31T01:30:00.000Z”,“2021-04-14T01:30:00.000Z”,“2021-04-28T01:30:00.000Z”,“2021-05-12T01:30:00.000Z”,“2021-05-26T01:30:00.000Z”,“2021-06-09T01:30:00.000Z”,“2021-06-23T01:30:00.000Z”,“2021-07-07T01:30:00.000Z”,“2021-07-21T01:30:00.000Z”,“2021-08-04T01:30:00.000Z”,“2021-08-18T01:30:00.000Z”,“2021-09-01T01:30:00.000Z”,“2021-09-15T01:30:00.000Z”,“2021-09-29T01:30:00.000Z”,“2021-10-13T01:30:00.000Z”,“2021-10-27T01:30:00.000Z”,“2021-11-10T01:30:00.000Z”,“2021-11-24T01:30:00.000Z”,“2021-12-08T01:30:00.000Z”,“2021-12-22T01:30:00.000Z”,“2022-01-05T01:30:00.000Z”]
      [18.01.2021 19:05.08.571] [DEBUG] initial tz=America/Chicago
      [18.01.2021 19:05.08.571] [DEBUG] corrected tz=America/Chicago
      [18.01.2021 19:05.08.572] [DEBUG] start date/time=Wed Jan 06 2021 19:30:00 GMT-0600 (Central Standard Time)
      [18.01.2021 19:05.08.573] [DEBUG] start offset=-360
      [18.01.2021 19:05.08.574] [DEBUG] start date/time w tz =Wed Jan 06 2021 19:30:00 GMT-0600 (Central Standard Time)
      [18.01.2021 19:05.08.574] [DEBUG] event date=Tue Jan 19 2021 19:30:00 GMT-0600 (Central Standard Time)
      [18.01.2021 19:05.08.575] [DEBUG] event offset=-360 hour=19 event date=Tue Jan 19 2021 19:30:00 GMT-0600 (Central Standard Time)
      [18.01.2021 19:05.08.576] [DEBUG] adjustHours=0
      [18.01.2021 19:05.08.576] [DEBUG] duration=5400000
      [18.01.2021 19:05.08.577] [DEBUG] saving event =false

      posted in Bug Hunt
      P
      pintail105