mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 00:37:02 +02:00
Fix issue processwire/processwire-issues#1402
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user