Enlève __unicode__ sur generalizedTimeFormat

This commit is contained in:
Pierre-Elliott Bécue 2015-09-26 02:50:09 +02:00
parent 9610cc6b0b
commit c18de85fd2
3 changed files with 15 additions and 6 deletions

View file

@ -640,9 +640,6 @@ class generalizedTimeFormat(Attr):
__slots__ = ("_stamp", "_datetime",)
default = "19700101000000Z"
def __unicode__(self):
return self._datetime.strftime("%d/%m/%Y %H:%M:%S")
def __float__(self):
return self._stamp