JiraRestApi\Issue\Worklog::setStartedDateTime PHP Method

setStartedDateTime() public method

Function to set start time of worklog.
public setStartedDateTime ( DateTime $started )
$started DateTime e.g. - new DateTime("2014-04-05 16:00:00")
    public function setStartedDateTime($started)
    {
        // workround micro second
        $this->started = $started->format("Y-m-d\\TH:i:s") . '.000' . $started->format('O');
        return $this;
    }