mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 03:02:15 +01:00
Merge branch 'main' of github.com:solidtime-io/solidtime into feature/reporting
# Conflicts: # tests/Feature/RegistrationTest.php
This commit is contained in:
@@ -32,7 +32,7 @@ class TimeEntryResource extends BaseResource
|
||||
*/
|
||||
'end' => $this->formatDateTime($this->resource->end),
|
||||
/** @var int|null $duration Duration of time entry in seconds */
|
||||
'duration' => $this->resource->getDuration()?->seconds,
|
||||
'duration' => (int) $this->resource->getDuration()?->totalSeconds,
|
||||
/** @var string|null $description Description of time entry */
|
||||
'description' => $this->resource->description,
|
||||
/** @var string|null $task_id ID of task */
|
||||
|
||||
Reference in New Issue
Block a user