@@ -12,6 +12,11 @@ |
||
12 | 12 | require_once($CONFIG->pluginspath.'event_calendar/models/model.php'); |
13 | 13 | |
14 | 14 | if (!function_exists('getLastDayOfMonth')) { |
15 | + |
|
16 | + /** |
|
17 | + * @param string $month |
|
18 | + * @param string $year |
|
19 | + */ |
|
15 | 20 | function getLastDayOfMonth($month, $year) |
16 | 21 | { |
17 | 22 | return idate('d', mktime(0, 0, 0, ($month + 1), 0, $year)); |