fix(api): force Manila timezone for upcoming pickups evaluation

This commit is contained in:
ramram1515
2026-06-30 13:20:31 +08:00
parent 54de35b03d
commit 88caf14aa1
5 changed files with 111 additions and 39 deletions

11
test.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
$req = Illuminate\Http\Request::create('/api/v1/me/upcoming-pickups', 'GET');
$req->setUserResolver(fn() => App\Models\User::find(6));
$ctrl = app()->make(App\Http\Controllers\Api\V1\Me\UpcomingPickupsController::class);
$f = app()->make(App\Services\DropOff\DropOffPointFinder::class);
$res = $ctrl->index($req, $f);
echo json_encode($res->getData(), JSON_PRETTY_PRINT);