change date format of chart in admin panel
This commit is contained in:
parent
458791df14
commit
6db0a0adeb
|
|
@ -47,7 +47,7 @@ class AdminController extends Controller
|
|||
|
||||
public function chartData()
|
||||
{
|
||||
$xAxis = Collection::times(31, fn ($i) => Carbon::today()->subDays(31 - $i)->format('m-d'));
|
||||
$xAxis = Collection::times(31, fn ($i) => Carbon::today()->subDays(31 - $i)->isoFormat('l'));
|
||||
|
||||
$oneMonthAgo = Carbon::today()->subMonth();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user