Skip to content

Commit

Permalink
Revert "correctly serialize timestamp values for vCard REV props" - b…
Browse files Browse the repository at this point in the history
…reaks too many other implementations

This reverts commit 6462c67.
  • Loading branch information
wpercy committed Jul 18, 2018
1 parent de38b10 commit b2502d4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions vobject/vcard.py
Expand Up @@ -5,7 +5,7 @@
from . import behavior

from .base import ContentLine, registerBehavior, backslashEscape, str_
from .icalendar import stringToTextValues, DateOrDateTimeBehavior
from .icalendar import stringToTextValues


# Python 3 no longer has a basestring type, so....
Expand Down Expand Up @@ -186,8 +186,7 @@ class VCard3_0(VCardBehavior):
'ADR': (0, None, None),
'ORG': (0, None, None),
'PHOTO': (0, None, None),
'CATEGORIES': (0, None, None),
'REV': (0, 1, None),
'CATEGORIES': (0, None, None)
}

@classmethod
Expand All @@ -214,12 +213,6 @@ class Label(VCardTextBehavior):
description = 'Formatted address'
registerBehavior(Label)


class REV(DateOrDateTimeBehavior):
name = "REV"
description = 'Current revision of this vCard'
registerBehavior(REV)

wacky_apple_photo_serialize = True
REALLY_LARGE = 1E50

Expand Down

0 comments on commit b2502d4

Please sign in to comment.