mangstadt / ez-vcard

A vCard parser library for Java
Other
399 stars 92 forks source link

Datetime to comply with RFC 6350? #89

Closed benoliver999 closed 6 years ago

benoliver999 commented 6 years ago

This has recently come up because the python-vobject guys just changed their date formatting to the ISO 8601:2004 standard as mentioned in 4.3.2 - Basic format

This resembles this:

19850412T101530Z

I went to moan at them but then saw that in RFC 6350 section 4.3 it says "Only the basic format is supported" - so actually that change is correct.

I think the datetime (at least for REV) looks like this: 2018-07-17T13:09:54Z for ez-vcard. I may be way off the mark... I used davdroid to test.

mangstadt commented 6 years ago

It depends which vCard standard you are using.

benoliver999 commented 6 years ago

Thank you!

mangstadt commented 6 years ago

Sure, thanks for posting