mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-18 01:14:59 +00:00
Yeet useless tables
Yeet useless data paths in dockerfile Add order into templates file
This commit is contained in:
parent
b19dedc568
commit
300c80fcd5
17 changed files with 86 additions and 106 deletions
|
@ -2,12 +2,12 @@ import datetime
|
|||
from flask import Blueprint
|
||||
|
||||
|
||||
blueprint = Blueprint('filters', __name__, template_folder='templates')
|
||||
blueprint = Blueprint("filters", __name__, template_folder="templates")
|
||||
|
||||
|
||||
@blueprint.app_template_filter()
|
||||
def format_result(dttm):
|
||||
dttm = str(dttm).split('.')
|
||||
dttm = str(dttm).split(".")
|
||||
time = datetime.timedelta(seconds=int(dttm[0]))
|
||||
microtime = dttm[1][:3]
|
||||
return f'{time}:{microtime}'
|
||||
return f"{time}:{microtime}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue