mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-29 15:44:41 +00:00
transaction date fix
This commit is contained in:
@@ -30,8 +30,8 @@ class TransactionResource extends JsonResource
|
|||||||
'metadata' => $this->metadata
|
'metadata' => $this->metadata
|
||||||
? resolve(FormatUsageEstimatesAction::class)($this->currency, $this->metadata)
|
? resolve(FormatUsageEstimatesAction::class)($this->currency, $this->metadata)
|
||||||
: null,
|
: null,
|
||||||
'created_at' => $this->created_at->formatLocalized('d. M. Y'),
|
'created_at' => format_date($this->created_at, 'd. M. Y'),
|
||||||
'updated_at' => $this->updated_at,
|
'updated_at' => format_date($this->updated_at, 'd. M. Y'),
|
||||||
],
|
],
|
||||||
'relationships' => [
|
'relationships' => [
|
||||||
$this->mergeWhen($this->user && $this->user->settings, fn () => [
|
$this->mergeWhen($this->user && $this->user->settings, fn () => [
|
||||||
|
|||||||
Reference in New Issue
Block a user