Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
larowlan committed Sep 2, 2019
1 parent 9c66714 commit 85864e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connector/JiraConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function sendEntry($entry) {
$worklog = new Worklog();

$worklog->setComment($entry->comment)
->setStartedDateTime((new \DateTime('now', new \DateTimeZone('UTC')))->setTimestamp($entry->getStart()))
->setStartedDateTime(new \DateTime('@' . $entry->start))
->setTimeSpent(sprintf('%sh %sm', floor($entry->duration), ($entry->duration - floor($entry->duration)) * 60));
$ret = $this->issueService->addWorklog($entry->tid, $worklog);
return $ret->id;
Expand Down

0 comments on commit 85864e4

Please sign in to comment.