Skip to content
Snippets Groups Projects
Commit df30ccb0 authored by Steven Wittens's avatar Steven Wittens
Browse files

The ever persistant typo.....

parent 8d46b188
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -30,7 +30,7 @@ function display() {
// Calculate previous and next months dates and check for shorter months (28/30 days)
$prevmonth = mktime(23, 59, 59, $month - 1, 1, $year);
$prev = mktime(23, 59, 59, $month - 1, min(date("t", $prevmonth), $day), $year);
$nextmonth = mktime(23, 59, 59, $month + 1, 31, $year);
$nextmonth = mktime(23, 59, 59, $month + 1, 1, $year);
$next = mktime(23, 59, 59, $month + 1, min(date("t", $nextmonth), $day), $year);
// Generate calendar header:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment