helper method to get sanction date formatted as a string
This commit is contained in:
parent
987ebf962d
commit
7b26de3d40
|
@ -122,3 +122,7 @@ class Document(Item, BasePublication):
|
|||
@property
|
||||
def moniteur_date_str(self):
|
||||
return self.moniteur_date.strftime('%d/%m/%Y')
|
||||
|
||||
@property
|
||||
def sanction_date_str(self):
|
||||
return self.sanction_date.strftime('%d/%m/%Y')
|
||||
|
|
Reference in New Issue