mirror of
https://github.com/simon987/od-database.git
synced 2025-04-24 12:45:51 +00:00
Typo
This commit is contained in:
parent
3335ec5f82
commit
b36bf71995
2
app.py
2
app.py
@ -61,7 +61,7 @@ def datetime_format(value, format='%Y-%m-%d %H:%M:%S'):
|
||||
return time.strftime(format, time.gmtime(value))
|
||||
|
||||
|
||||
@app.template.filetr("duration_format")
|
||||
@app.template_filter("duration_format")
|
||||
def duration_format(value):
|
||||
delay = datetime.timedelta(seconds=value)
|
||||
if (delay.days > 0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user