Git Product home page Git Product logo

Comments (6)

rahearn avatar rahearn commented on September 22, 2024

Unfortunately, you must use .to_datetime if you wish to have a date included. RFC-2445 allows for Time types, that only include the time, without a date. Thus, we use the Time class for times, Date for just dates, and DateTime for output that should include both the date and time.

from icalendar.

brendon avatar brendon commented on September 22, 2024

Thanks Ryan, that makes sense. Is this in the documentation somewhere, and
if not, would it be a good idea to add it? :)

On Wed, Aug 28, 2013 at 11:54 AM, Ryan Ahearn [email protected]:

Unfortunately, you must use .to_datetime if you wish to have a date
included. RFC-2445 allows for Time types, that only include the time,
without a date. Thus, we use the Time class for times, Date for just
dates, and DateTime for output that should include both the date and time.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-23380557
.

from icalendar.

rahearn avatar rahearn commented on September 22, 2024

It doesn't look like it is documented anywhere. I just recently took over this project and haven't had as much time to work on it as I'd like.

Documentation help would be fantastic, I just enabled the wiki for the project so we can start building some better use instructions.

from icalendar.

brendon avatar brendon commented on September 22, 2024

Hi Ryan, that's all good. I completely understand what that's like :)

I just went to try and add a page in the wiki but it just doesn't load.
Perhaps you have to add the first page? :)

On Sat, Aug 31, 2013 at 12:44 AM, Ryan Ahearn [email protected]:

It doesn't look like it is documented anywhere. I just recently took over
this project and haven't had as much time to work on it as I'd like.

Documentation help would be fantastic, I just enabled the wiki for the
project so we can start building some better use instructions.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-23558433
.

from icalendar.

rahearn avatar rahearn commented on September 22, 2024

I created a page for Time issues here: https://github.com/icalendar/icalendar/wiki/Times,-Dates,-and-DateTimes let me know if you still can't edit it.

from icalendar.

brendon avatar brendon commented on September 22, 2024

Thanks Ryan, I've updated that page. I hope it's clear enough. I wanted to
provide a bit of an extra hint about the Time to DateTime conversion
requirement in case people don't get the subtlety.

Have a great day!

Brendon

On Wed, Sep 4, 2013 at 1:04 AM, Ryan Ahearn [email protected]:

I created a page for Time issues here:
https://github.com/icalendar/icalendar/wiki/Times,-Dates,-and-DateTimeslet me know if you still can't edit it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-23710645
.

from icalendar.

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.