Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single day events are sometimes displayed over two days #65

Open
hansthen opened this issue Feb 24, 2023 · 1 comment
Open

Single day events are sometimes displayed over two days #65

hansthen opened this issue Feb 24, 2023 · 1 comment

Comments

@hansthen
Copy link

hansthen commented Feb 24, 2023

Sometimes single day events are displayed as lasting two days.

For instance: the following json shows up on both Friday and Saturday.

{
  "categories": null,
  "color": "",
  "description": "Visit https://calendarlabs.com/holidays/us/good-friday.php to know more about Good Friday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates",
  "end_date": "2023-04-08 00:00",
  "end_date_iso": "2023-04-08",
  "end_date_iso_0": "2023-04-08",
  "geo": null,
  "ical": "BEGIN:VEVENT\r\nSUMMARY:Good Friday\r\nDTSTART;VALUE=DATE:20230407\r\nDTEND;VALUE=DATE:20230407\r\nDTSTAMP:20221108T074931Z\r\nUID:636a0a0b6abb51667893771@calendarlabs.com\r\nSEQUENCE:0\r\nDESCRIPTION:Visit https://calendarlabs.com/holidays/us/good-friday.php to \r\n know more about Good Friday. \\n\\n Like us on Facebook: http://fb.com/calen\r\n darlabs to get updates\r\nLOCATION:India\r\nSTATUS:CONFIRMED\r\nTRANSP:TRANSPARENT\r\nEND:VEVENT\r\n",
  "id": [
    "636a0a0b6abb51667893771@calendarlabs.com",
    "2023-04-07 00:00"
  ],
  "location": "India",
  "recurrence": null,
  "sequence": "0",
  "start_date": "2023-04-07 00:00",
  "start_date_iso": "2023-04-07",
  "start_date_iso_0": "2023-04-07",
  "text": "Good Friday",
  "type": "event",
  "uid": "636a0a0b6abb51667893771@calendarlabs.com",
  "url": null
}

In the attached screenshot Good Friday, Easter Sunday and Easter Monday are all shown as lasting two days:
image

I used https://github.com/niccokunzmann/open-web-calendar with the provided ICS url (https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics) to generate these screenshots. When I tried with https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics I noticed that Holi (2023-03-08) was displayed correctly, but Ram Navami (2023-03-30) was not. See the attached screenshot.

image

@hansthen
Copy link
Author

Can it be a problem with daylight saving time? I see that one day events in summer are spread over two days in the calendar. Perhaps the program interprets the start and end times as 01:00.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant