From 87d9a8228cbaf608d1c0b1991f860c7c3ece2a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 13 Aug 2025 15:01:07 +0200 Subject: [PATCH] zmiana month na m i poprawka w kolorach paginaci --- app.py | 3 ++- templates/main.html | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 1d0c600..f513e59 100644 --- a/app.py +++ b/app.py @@ -1434,7 +1434,8 @@ def main_page(): archived_lists=archived_lists, now=now, timedelta=timedelta, - month_options=month_options + month_options=month_options, + selected_month=month_str ) diff --git a/templates/main.html b/templates/main.html index b1dc50c..fc09631 100644 --- a/templates/main.html +++ b/templates/main.html @@ -33,7 +33,6 @@ {% set month_names = ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"] %} -{% set selected_month = selected_month or now.strftime('%Y-%m') %}