bx-2052-deal-tab #2

Merged
ksenia_mikhailova merged 25 commits from bx-2052-deal-tab into main 2024-11-19 13:59:00 +03:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 06b8325cd8 - Show all commits

View File

@ -13,7 +13,10 @@ from app.constants import *
app = FastAPI()
templates = Jinja2Templates(directory="templates")
try:
locale.setlocale(locale.LC_TIME, 'ru_RU')
except Exception as e:
logger.error(e)
# Создаем кастомный фильтр для форматирования дат
def format_datetime(value, format="%d %B %Y, %H:%M:%S"):