Comments (6)
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.
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.
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.
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.
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.
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)
- Would it be possible to override the UID property? HOT 2
- Missing tzinfo-data HOT 1
- Icalendar is feeding something to ActiveSupport with a hash as keyword params HOT 2
- With the calendar, the English single and double quotation marks in the text become Chinese
- Timezone dtstart has offset applied twice HOT 7
- Support for RFC 7986 (Name, Color, Conference, Image, etc.) HOT 3
- Accept invitation button not showing HOT 5
- No method for component Icalendar::Event Appending to custom HOT 1
- DateTime class is considered deprecated
- DTEND is parsed incorrectly HOT 2
- Feature Request: accept props via keyward args or hash HOT 1
- Question: set tzid parameter based on value's `zone` HOT 1
- Ability to "not" receive email based on RSVP status HOT 2
- Handling Time Zone Changes HOT 2
- How to change the timezone on parsing HOT 1
- Wich is the method for divide Icalendar::Values::Text object?
- Specify REFRESH-INTERVAL HOT 3
- Parameter "to_time" doesn't work on dtend HOT 2
- uninitialized constant Icalendar::Parser::StringIO (NameError)
- Question: How can I find the days without event in a year? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icalendar.