]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Unified BBCode conversion, improved proxy functionality
[friendica.git] / src / Content / Widget.php
index f0236c00c1de637c6c6f80b6c556bec44edc6605..c8c0230c688dd7bafc136127ff05afdf88e92fc4 100644 (file)
@@ -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
                ]);