wip
This commit is contained in:
@@ -2,18 +2,14 @@
|
||||
|
||||
namespace App\Modules\DateHelper\Repositories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Modules\DateHelper\Models\DateHelper;
|
||||
|
||||
class DateHelperRepository
|
||||
{
|
||||
public static function monthsAsNumber(): array
|
||||
{
|
||||
$month = [];
|
||||
|
||||
for($m = 1;$m <= 12; $m++) {
|
||||
$month[] = str_pad($m, 2, '0', STR_PAD_LEFT);
|
||||
for ($m = 1; $m <= 12; $m++) {
|
||||
$month[] = str_pad($m, 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
return $month;
|
||||
|
||||
Reference in New Issue
Block a user