mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-09 16:00:40 +00:00
refactor: truncate time in minutes for release notes
This commit is contained in:
parent
a32342cf47
commit
ad7a5286b9
@ -67,7 +67,7 @@ func (p ReleaseNoteProcessorImpl) Get(commits []GitCommitLog) ReleaseNote {
|
||||
}
|
||||
}
|
||||
|
||||
return ReleaseNote{Date: time.Now(), Sections: sections, BreakingChanges: breakingChanges}
|
||||
return ReleaseNote{Date: time.Now().Truncate(time.Minute), Sections: sections, BreakingChanges: breakingChanges}
|
||||
}
|
||||
|
||||
// Format format a release note.
|
||||
|
Loading…
Reference in New Issue
Block a user