{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/contacts/issues/41","repository_url":"https://api.github.com/repos/nextcloud/contacts","labels_url":"https://api.github.com/repos/nextcloud/contacts/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/contacts/issues/41/comments","events_url":"https://api.github.com/repos/nextcloud/contacts/issues/41/events","html_url":"https://github.com/nextcloud/contacts/issues/41","id":191871958,"number":41,"title":"Use common timestamp format for REV","user":{"login":"rfc2822","id":156167,"avatar_url":"https://avatars.githubusercontent.com/u/156167?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc2822","html_url":"https://github.com/rfc2822","followers_url":"https://api.github.com/users/rfc2822/followers","following_url":"https://api.github.com/users/rfc2822/following{/other_user}","gists_url":"https://api.github.com/users/rfc2822/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc2822/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc2822/subscriptions","organizations_url":"https://api.github.com/users/rfc2822/orgs","repos_url":"https://api.github.com/users/rfc2822/repos","events_url":"https://api.github.com/users/rfc2822/events{/privacy}","received_events_url":"https://api.github.com/users/rfc2822/received_events","type":"User","site_admin":false},"labels":[{"id":465386744,"url":"https://api.github.com/repos/nextcloud/contacts/labels/1.%20to%20develop","name":"1. to develop","color":"0052cc","default":false},{"id":464972465,"url":"https://api.github.com/repos/nextcloud/contacts/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-27T17:00:39Z","updated_at":"2016-12-21T17:10:38Z","closed_at":null,"body":"Hello,\r\n\r\nIn 44b8edd4f2223bf96cfd9ef891f40a37fb489ed9, setting `REV` from JavaScript was introduced like this:\r\n\r\n```\r\ncontact.rev(new Date().toISOString());\r\n````\r\n\r\nThe format generated by `new Date().toISOString()` is `2016-11-27T16:53:30.027Z`, which currently causes problems with VCard libraries like ez-vcard (https://github.com/mangstadt/ez-vcard/issues/73). While the format seems to be correct according to ISO.8601.2004, it would reduce problems with CardDAV clients like DAVdroid if the timestamp could be printed in an easier format, like `REV:19951031T222710Z` (without milliseconds).\r\n\r\nAlso, `VALUE=timestamp` is redundant and could be removed.\r\n\r\nWould that be possible? Currently, this change (released with nextcloud/contacts 1.5.2) [breaks DAVdroid synchronization (more information here)](https://forums.bitfire.at/topic/1259/rev-must-not-appear-more-than-once-in-a-vcard-component/)."},"comment":{"url":"https://api.github.com/repos/nextcloud/contacts/issues/comments/268578675","html_url":"https://github.com/nextcloud/contacts/issues/41#issuecomment-268578675","issue_url":"https://api.github.com/repos/nextcloud/contacts/issues/41","id":268578675,"user":{"login":"rfc2822","id":156167,"avatar_url":"https://avatars.githubusercontent.com/u/156167?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc2822","html_url":"https://github.com/rfc2822","followers_url":"https://api.github.com/users/rfc2822/followers","following_url":"https://api.github.com/users/rfc2822/following{/other_user}","gists_url":"https://api.github.com/users/rfc2822/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc2822/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc2822/subscriptions","organizations_url":"https://api.github.com/users/rfc2822/orgs","repos_url":"https://api.github.com/users/rfc2822/repos","events_url":"https://api.github.com/users/rfc2822/events{/privacy}","received_events_url":"https://api.github.com/users/rfc2822/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T17:10:38Z","updated_at":"2016-12-21T17:10:38Z","body":"BTW, what is the time zone of the current `REV` value? Wouldn't it be more clear to use the 'Z' format and UTC? If the time is floating local time, two different revisions could have the same `REV` (create a VCard, save it, then move to a location with one hour time difference, wait an hour, save it again and it will have the same `REV`)."}}
{"actor":{"display_login":"rfc2822"}}