diff --git a/app/templates/widget-monthly.php b/app/templates/widget-monthly.php index 642c419..cfbf5c5 100644 --- a/app/templates/widget-monthly.php +++ b/app/templates/widget-monthly.php @@ -18,7 +18,11 @@
time period: = htmlspecialchars($from_time) ?> - = htmlspecialchars($until_time) ?>
+time period: + + = $from_time == '0000-01-01' ? 'beginning' : date('d M Y', strtotime($from_time)) ?> - = $until_time == '9999-12-31' ? 'now' : date('d M Y', strtotime($until_time)) ?> + +