mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix date format
This commit is contained in:
@@ -25,7 +25,7 @@ class DocumentResource extends JsonResource
|
||||
'document_type' => $this->document_type,
|
||||
'owner' => new CompanyResource($this->whenLoaded('owner')),
|
||||
'files' => FileResource::collection($this->files),
|
||||
'created_at' => Carbon::parse($this->created_at)->format('d-m-Y H:s:i')
|
||||
'created_at' => Carbon::parse($this->created_at)->setTimezone('UTC')->format('d-m-Y H:s:i')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user