Работа над журналом для ст. мед сестер
This commit is contained in:
@@ -10,7 +10,6 @@ use App\Models\MedicalHistorySnapshot;
|
||||
use App\Models\MisStationarBranch;
|
||||
use App\Models\Report;
|
||||
use App\Models\User;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
class SnapshotService
|
||||
@@ -280,8 +279,8 @@ class SnapshotService
|
||||
private function parseDates(array $dates): array
|
||||
{
|
||||
return [
|
||||
Carbon::createFromTimestampMs($dates[0])->setTimezone('Asia/Yakutsk'),
|
||||
Carbon::createFromTimestampMs($dates[1])->setTimezone('Asia/Yakutsk'),
|
||||
$this->dateRangeService->parseDate($dates[0]),
|
||||
$this->dateRangeService->parseDate($dates[1]),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user