X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=c8c0230c688dd7bafc136127ff05afdf88e92fc4;hb=8bb33dccd1d945c849c7006ee56a73fc9404323c;hp=f0236c00c1de637c6c6f80b6c556bec44edc6605;hpb=4c3f2441f7966fad09663090141b7ee4b17d7b91;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index f0236c00c1..c8c0230c68 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -472,6 +472,8 @@ 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 = substr($nextday, 4); $dnow = substr($dnow, 0, 8) . '01'; $dthen = substr($dthen, 0, 8) . '01'; @@ -515,6 +517,7 @@ class Widget '$showmore' => DI::l10n()->t('show more'), '$onthisdate' => DI::l10n()->t('On this date'), '$thisday' => $thisday, + '$nextday' => $nextday, '$cutoffday' => $cutoffday ]);