full refactor fml

This commit is contained in:
Michael Beck
2025-02-07 04:13:17 +01:00
parent ceebbafed5
commit 9076c5ed7a
11 changed files with 561 additions and 461 deletions

7
app/filters.py Normal file
View File

@@ -0,0 +1,7 @@
from flask import Blueprint, request, jsonify
from datetime import datetime
def register_filters(app):
@app.template_filter('datetimeformat')
def datetimeformat(value):
return datetime.fromtimestamp(value).strftime('%Y-%m-%d %H:%M:%S')