Skip to content

Commit

Permalink
Fixed timezones in detailed export reports #2
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Oct 29, 2024
1 parent f145e82 commit 04fcc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Service/ReportExport/TimeEntriesDetailedExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function map($model): array
$model->project?->name,
$model->client?->name,
$model->user->name,
Date::dateTimeToExcel($model->start),
Date::dateTimeToExcel($model->start->timezone($this->timezone)),
$model->end !== null ? Date::dateTimeToExcel($model->end->timezone($this->timezone)) : null,
$duration !== null ? $interval->format($duration) : null,
$duration?->totalHours,
Expand Down

0 comments on commit 04fcc1e

Please sign in to comment.