Enlève __unicode__ sur generalizedTimeFormat
This commit is contained in:
parent
9610cc6b0b
commit
c18de85fd2
3 changed files with 15 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue