diff --git a/lib/Baser/View/Helper/BcFormHelper.php b/lib/Baser/View/Helper/BcFormHelper.php index f26edcf2cd..fca7ff1b27 100644 --- a/lib/Baser/View/Helper/BcFormHelper.php +++ b/lib/Baser/View/Helper/BcFormHelper.php @@ -1349,7 +1349,7 @@ protected function _generateOptions($name, $options = []) break; case 'day': for($i = 1; $i <= 31; $i++) { - $data[sprintf('%02d', $i)] = $i; + $data[sprintf('%02d', $i)] = sprintf('%02d', $i); } break; case 'month':