Update src/Content/Widget.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
pull/13207/head
anubis2814 2023-06-09 16:07:11 -04:00 zatwierdzone przez GitHub
rodzic 14b83def60
commit 2632875bab
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -472,7 +472,7 @@ class Widget
// Set the start and end date to the beginning of the month
$cutoffday = $dthen;
$thisday = substr($dnow, 4);
$nextday = date('Y-m-d', strtotime($dnow. ' + 1 day'));
$nextday = date('Y-m-d', strtotime($dnow . ' + 1 day'));
$nextday = substr($nextday, 4);
$dnow = substr($dnow, 0, 8) . '01';
$dthen = substr($dthen, 0, 8) . '01';