mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Also display weekday in dates
This commit is contained in:
parent
6962810210
commit
a584e03e0f
1 changed files with 2 additions and 2 deletions
|
@ -55,11 +55,11 @@ env = Environment(
|
|||
|
||||
|
||||
def date_filter(value):
|
||||
return value.strftime("%d %B")
|
||||
return value.strftime(r"%A %d %B")
|
||||
|
||||
|
||||
def time_filter(value):
|
||||
return value.strftime("%H:%M")
|
||||
return value.strftime(r"%H:%M")
|
||||
|
||||
|
||||
env.filters["date"] = date_filter
|
||||
|
|
Loading…
Reference in a new issue