Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

fix broken DTSTART value type for DATE values #5

Closed
aspiers opened this issue Aug 6, 2014 · 7 comments
Closed

fix broken DTSTART value type for DATE values #5

aspiers opened this issue Aug 6, 2014 · 7 comments

Comments

@aspiers
Copy link

aspiers commented Aug 6, 2014

Lines like

DTSTART:20140612

are invalid, because 20140612 is a DATE value type, whereas DTSTART's default value type is DATE-TIME.

http://icalvalid.cloudapp.net/ says

The value appears to be a 'date' value, but 'VALUE=DATE' was not specified.

Add a 'VALUE=DATE' parameter to the date-time value. See RFC 5545 section 3.3.5 for details.

but actually section 3.8.2.4. of the RFC is far more informative about this.

@vuntz
Copy link
Owner

vuntz commented May 19, 2016

We don't touch DTSTART entries anymore. If this is still valid (and I can see some of that in my files...) then it's a bug in what generates the original ics bits in the mails (likely groupwise). So WONTFIX for us :/

@vuntz vuntz closed this as completed May 19, 2016
@aspiers
Copy link
Author

aspiers commented May 19, 2016

Why WONTFIX? Wouldn't it be worth working around Groupwise brokenness, given that's the main use case for us?

@vuntz
Copy link
Owner

vuntz commented May 19, 2016

Does it actually break anything for you? If yes, then okay, I can add the workaround. But if not, then I'd prefer to not have to deal with it since I don't want to accumulate unneeded workarounds in there.

@aspiers
Copy link
Author

aspiers commented May 19, 2016

I would have thought it did, otherwise there would be no good reason for me to report it ... but I can't remember what.

vuntz added a commit that referenced this issue May 20, 2016
The default value type is DATE-TIME, so when a DATE is used, the value
type has to be specified.

Closes #5.
@vuntz
Copy link
Owner

vuntz commented May 20, 2016

@aspiers ah well. I've added the workaround for now. I do have events with that bug, and it didn't impact me, fwiw.

@aspiers
Copy link
Author

aspiers commented May 20, 2016

Thanks! :)

@aspiers
Copy link
Author

aspiers commented May 23, 2016

Thinking about this a bit more, I guess it would break all-day events, but ICBW.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants