-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BDAY format in VCARD, missing "-" #122
Comments
Both are accepted according toi the rfc: https://tools.ietf.org/html/rfc6350#section-6.2.5
|
@skjnldsv You used the vCard 4.0 spec to invalidate an issue referencing vCard 3.0. After reading both of the RFCs, I come to the conclusion that
|
We should indeed keeps compatibility with 3.0 cards. rfc2426 reference:
|
Yes, especially when the vcard is in fact 3.0, not 4.0:
|
To be clear, RFC2425 explicitly states (in section 5.8.2) that its data definitions adhere to the conventions of RFC2234. RFC2234 states that fields enclosed within a [ ] are optional. The RFC2425 definition of a "date" is given in section 5.8.4:
In the context of RFC2234, this means that the following two definitions are both equally acceptable and interchangeable according to RFC2425:
For what it's worth, in RFC6350, the standard dropped its own internal definition of the "date" datatype, and deferred to ISO 8601 for a standard textual convention. It turns out that ISO 8601 actually ends up allowing many of the same set of conventions. As a consequence, the following two definitions are ALSO both equally acceptable and interchangeable in RFC6350:
|
Hi,
in the VCARDs BDAY field the "." in YYYY-MM-DD is missing.
(see http://www.evenx.com/vcard-3-0-format-specification)
How to reproduce:
curl -k -X GET -u "user":"password" -D - https://"SERVER"/remote.php/dav/addressbooks/users/"USER"/contacts/"VCARD-ID".vcf
Thunderbirds AddOn "Cardbook" gives a warning about this format problem in its logfile.
Best regards
Michael
The text was updated successfully, but these errors were encountered: