contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Allow custom events with X-ABDATE property

Open NeverWise opened this issue 8 years ago • 7 comments
trafficstars

Google uses X-ABDATE extension in its vcard on gmail to manage generic dates (events). The format is the same and already managed, for the phone number, by nextcloud.

phone number e.g. (working) item1.TEL:0123456789 item1.X-ABLABEL:foo

X-ABDATE e.g. (not working) item2.X-ABDATE:1997-10-02 item2.X-ABLABEL:bar

If I export a contact from google and import it in nextcloud, the X-ABDATE information remain in the vcard but isn't shown in the frontend. I think it would be nice to be able to see this information.

It is also possible to import it into android by using the specific extension: X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;; This extension works from android 4 to 7. I personally tested it.

I hope you decide to implement this extension.

Cheers


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

NeverWise avatar May 30 '17 20:05 NeverWise

Better to rename this 'Allow custom events'? This might avoid further duplicates being created :D

spoorun avatar Apr 08 '19 11:04 spoorun

I can see the same problem. I have some contacts with multiple custom dates and once I sync my contacts to Nextcloud these fields are lost in Nextcloud.

I compared the output from Android and the otuput of Nextcloud contacts and this part is missing in Nextcloud:

X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;

I am using Contacts 3.2.0.

DavidMndz avatar Apr 06 '20 23:04 DavidMndz

:+1: just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(

At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.

doits avatar Mar 23 '21 16:03 doits

👍 just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(

At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.

I have just tested in Android and you can only add "Anniversary" field, but you can add more than one, so on your phone you can have the birthday, two different anniversaries but on the Nextcloud side, only the birthday and the last anniversary that was updated are stored.

I am waiting for this enhancement to finally migrate all the contacts to Nextcloud.

DavidMndz avatar Mar 23 '21 17:03 DavidMndz

On my Android 11 phone / Pixel 5 with stock google android I can only add "Birthday" and one "Anniversary" to a nextcloud contact in the regular contacts app. I don't see an option to add more than one anniversary, maybe a different contacts app can do this?

In nextcloud web ui I can add a third date: A "Day of death". It is only displayed in the web ui, not in contacts app.

doits avatar Mar 23 '21 17:03 doits

Samsung's Contact App on Android allows custom events to be added, which use X-ABDATE when synced with DAVx5.

tribut avatar Oct 13 '21 07:10 tribut

What needs to be done to add support for this in the web app? As far as I understand it from reading the comments in this issue when I add/change X-ABDATE properties of a contact via Google Contacts app on my phone the data is synced with Nextcloud through DavX, correct? And it's rather an issue of displaying it in the frontend, yes?

riker09 avatar Jul 10 '22 21:07 riker09

That seems to be what is happening. Custom dates synchronize between my android devices just fine but are not displayed in Nextcloud.

brtwrst avatar May 07 '23 05:05 brtwrst