mangstadt / ez-vcard

A vCard parser library for Java
Other
405 stars 93 forks source link

Unable to retrieve original UTC offset from date-time property values #107

Closed mangstadt closed 4 years ago

mangstadt commented 4 years ago

From a user via email on July 6 2020.

They are using ez-vcard to convert vCards to JSContact. They want to preserve the UTC offset in date-time properties (such as ANNIVERSARY, BDAY, and REV).

Currently, ez-vcard converts these property values to java.util.Date objects, which means the original UTC offset is lost.

mangstadt commented 4 years ago

I suggested creating a custom scribe to get the raw text value. This suited their needs.

https://gist.github.com/mangstadt/c35786001b928e2fe02d3a0583fa9cf5

mangstadt commented 4 years ago

Request reopened. User needs zone offset to be accessible.

Functionality added in c5777f64086ae99692d87d1858ef77b1402a28cb