Skip to content

Commit

Permalink
Merge pull request silverstripe#245 from silverstripe/pulls/master/di…
Browse files Browse the repository at this point in the history
…stinct-commit

BUG Treat commit with same message as distinct if they are on different seconds
  • Loading branch information
GuySartorelli authored Sep 18, 2023
2 parents cc33e6d + 8236e9d commit b38097f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Changelog/ChangelogItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getRenderData()
public function getDistinctDetails()
{
// Date, author, and message
return $this->getAuthor() . '-' . $this->getDate()->format('Y-m-d') . '-' . $this->getRawMessage();
return $this->getAuthor() . '-' . $this->getDate()->format('Y-m-d H:i:s') . '-' . $this->getRawMessage();
}

/**
Expand Down

0 comments on commit b38097f

Please sign in to comment.