Anzeige beschränkt auf Monat und Vormonat

This commit is contained in:
p3t3rp1Lz 2025-11-23 10:29:42 +01:00
parent 237b0c4900
commit 4ee786bea7

View File

@ -19,7 +19,7 @@
$konto_backgroundColor = $konto[0]['backgroundcolor'];
$stmt = $pdo->query("SELECT (date_trunc('month', CURRENT_DATE::date) - interval '2 month')::date AS von,
$stmt = $pdo->query("SELECT (date_trunc('month', CURRENT_DATE::date) - interval '1 month')::date AS von,
(date_trunc('month', CURRENT_DATE::date) + interval '1 month' - interval '1 day')::date AS bis;");
$monat_aktuell = $stmt->fetchAll(PDO::FETCH_ASSOC)[0];