Skip to content

[Bug] repeating full day events show on the wrong day #4003

@sdetweil

Description

@sdetweil

Environment

System Information

  • SYSTEM: manufacturer: System manufacturer; model: System Product Name; virtual: false; MM: 2.34.0
  • OS: platform: linux; distro: Ubuntu; release: 22.04.5 LTS; arch: x64; kernel: 5.15.0-164-generic
  • VERSIONS: electron: undefined; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14
  • ENV: XDG_SESSION_TYPE: x11; MM_CONFIG_FILE: undefined
    WAYLAND_DISPLAY: undefined; DISPLAY: :0.0; ELECTRON_ENABLE_GPU: undefined
  • RAM: total: 48077.13 MB; free: 35123.34 MB; used: 12953.39 MB
  • OTHERS: uptime: 23038 minutes; timeZone: America/Chicago

Which start option are you using?

node --run start

Are you using PM2?

No

Module

calendar

Have you tried disabling other modules?

  • Yes
  • No

Have you searched if someone else has already reported the issue on the forum or in the issues?

  • Yes

What did you do?

Configuration
<!-- Paste your configuration here. Don't forget to remove any sensitive information! -->
use the sample config.js
replace calendar url with whatever file would hold that 
<!-- Paste relevant code here -->

Steps to reproduce the issue:

use this sample ics

BEGIN:VALENDAR
BEGIN:VEVENT
DTSTART;VALUE=DATE:20250414
DTEND;VALUE=DATE:20250415
RRULE:FREQ=WEEKLY;WKST=SU;INTERVAL=2
DTSTAMP:20260103T123138Z
UID:@google.com
CREATED:20250409T000033Z
DESCRIPTION:Paying half the mortgage
LAST-MODIFIED:20250409T000033Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Mortgage Payment
TRANSP:TRANSPARENT
END:VEVENT

What did you expect to happen?

the event is schedule for Monday

What actually happened?

, but shows on Sunday, repeating

full day events are local timezone only. so altho the event LOOKS like DST (at the time it was created),
it is DST/STD time insensitive.

this was the startofday/endofday discussion had earlier

Additional comments

reported on discord
https://www.reddit.com/r/MagicMirror/comments/1q29fs1/calendarext3_google_off_by_a_day/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

screen shot

Image

Participation

  • I am willing to submit a pull request for this change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions