mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 08:43:33 +01:00
changed date display format
This commit is contained in:
parent
fe04c18430
commit
9c5602876c
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class Audio:
|
||||||
def __init__(self, date, audio_file):
|
def __init__(self, date, audio_file):
|
||||||
assert isinstance(date, datetime)
|
assert isinstance(date, datetime)
|
||||||
self.date = date
|
self.date = date
|
||||||
self.date_text = date.strftime("%d de %B del %Y")
|
self.date_text = date.strftime("%A %d de %B del %Y")
|
||||||
self.audio_file = audio_file
|
self.audio_file = audio_file
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in a new issue