recuPaiement est un generalizedTimeFormat
This commit is contained in:
parent
dae802b057
commit
d1eb555599
1 changed files with 4 additions and 1 deletions
|
@ -640,6 +640,9 @@ 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
|
||||
|
||||
|
@ -1686,7 +1689,7 @@ class modePaiement(Attr):
|
|||
self.value = mode
|
||||
|
||||
@crans_attribute
|
||||
class recuPaiement(Attr):
|
||||
class recuPaiement(generalizedTimeFormat):
|
||||
__slots__ = ()
|
||||
ldap_name = "recuPaiement"
|
||||
can_modify = [cableur, nounou]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue