Giter Club home page Giter Club logo

Comments (4)

tobixen avatar tobixen commented on September 2, 2024

Perhaps I should add some code here returning empty list if they are equal or in the wrong order.

If dates are used, the end date will not be included in the search though honestly I'm uncertain how that works out wrg of time zones

from caldav.

tobixen avatar tobixen commented on September 2, 2024

Wait, please disregard my last message.

This is either a bug in vobject, or is vobject rightly complaining on a breach of standards.

I'm on the mobile now, will try to check a bit later why the object is instantiated. If there is not a very good reason for instantiating a vobject here, it should not be done.

from caldav.

tobixen avatar tobixen commented on September 2, 2024

I discovered there is a function caldav.lib.vcal.fix which does various munging of non-compliant icalendar objects. It may help to throw in more logic there. It's dirty, I won't do it myself, but pull requests are accepted.

from caldav.

tobixen avatar tobixen commented on September 2, 2024

I'm closing this one now as I don't believe this is a bug in the caldav library. I haven't investigated if the standard allows dtstart and dtend to be equal or not, but if not the bug is neither in vobject.

That said, with #43 done, hopefully calendar search will work despite vobject declining such objects.

You may try to write up a pull request removing the dtend from the icalendar eventually.

Closing this issue as for now.

from caldav.

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.