Skip to content

Commit 0b17739

Browse files
mikeher87crynobone
authored andcommitted
First character capitalization in month names.
Signed-off-by: crynobone <crynobone@gmail.com>
1 parent d22d600 commit 0b17739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/SelectionTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function selectMonth($name, $selected = null, $options = [], $format = '%
187187
$months = [];
188188

189189
foreach (range(1, 12) as $month) {
190-
$months[$month] = strftime($format, mktime(0, 0, 0, $month, 1));
190+
$months[$month] = ucfirst(strftime($format, mktime(0, 0, 0, $month, 1)));
191191
}
192192

193193
return $this->select($name, $months, $selected, $options);

0 commit comments

Comments
 (0)