mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 07:04:34 -04:00
Merge pull request #4401 from beganovich/v5-fix-issue-with-client-dateform
(v5) Apply client's date format on the tasks
This commit is contained in:
commit
a5aa21f441
@ -251,8 +251,8 @@ trait DesignHelpers
|
|||||||
foreach ($_logs as $log) {
|
foreach ($_logs as $log) {
|
||||||
$logs[] = sprintf(
|
$logs[] = sprintf(
|
||||||
'%s - %s',
|
'%s - %s',
|
||||||
\Carbon\Carbon::createFromTimestamp($log[0])->format($task->client->date_format() . ' h:i:s'),
|
\Carbon\Carbon::createFromTimestamp($log[0])->format($this->entity->client->date_format() . ' h:i:s'),
|
||||||
\Carbon\Carbon::createFromTimestamp($log[1])->format($task->client->date_format() . ' h:i:s')
|
\Carbon\Carbon::createFromTimestamp($log[1])->format($this->entity->client->date_format() . ' h:i:s')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user