Skip to content

Single day events are sometimes displayed over two days #65

@hansthen

Description

@hansthen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions