Giter Site home page Giter Site logo

Comments (2)

u01jmg3 avatar u01jmg3 commented on July 26, 2024

A quick google and the status of your event isn't correct if you want it to be deleted: https://stackoverflow.com/questions/356598/delete-calendar-event-using-icalendar-file-import-outlook-2003-problem#357641

from ics-parser.

tdrusk avatar tdrusk commented on July 26, 2024

Sorry if I am misunderstanding. This is a recurring event.

Let's take this one for example:

BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20160706T161104Z
DTEND;TZID="Eastern Standard Time":20160409T110000
DTSTAMP:20160706T150005Z
DTSTART;TZID="Eastern Standard Time":20160409T090000
EXDATE;TZID="Eastern Standard Time":20160528T090000,20160625T090000,2016070
    9T090000
LAST-MODIFIED:20160707T182011Z
LOCATION:Sanctuary
PRIORITY:5
RRULE:FREQ=WEEKLY;COUNT=26;BYDAY=SA
SEQUENCE:0
SUMMARY:Martha practices
TRANSP:OPAQUE
UID:040000008200E00074C5B7101A82E0080000000020F6512D0B48CF01000000000000000
    01000000058BFB8CBB85D504CB99FBA637BCFD6BF
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-DISALLOW-COUNTER:FALSE
END:VEVENT

I opened the calendar in Outlook 2016 and deleted the occurrence on 7/9/2016. This is reflected in the EXDATE. This is the only entry in the ICS file of 'Martha Practices'. It seems the status would be 'Confirmed', unless there is an EXDATE - in which there is no event.

I made an if statement in my code which checks to see if the event start date matches an EXDATE. If so, don't show it.

from ics-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.