1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 00:37:02 +02:00
This commit is contained in:
Ryan Cramer
2021-07-09 11:11:59 -04:00
parent 2adebb6d78
commit 8c6c85c87d

View File

@@ -90,7 +90,7 @@ class InputfieldDatetimeSelect extends InputfieldDatetimeType {
for($n = 1; $n <= 12; $n++) {
$monthFormat = $abbreviate ? '%b' : '%B';
$monthLabel = $sanitizer->entities(strftime($monthFormat, mktime(0, 0, 0, $n)));
$monthLabel = $sanitizer->entities(strftime($monthFormat, mktime(0, 0, 0, $n, 1)));
$months->addOption($n, $monthLabel);
}