Skip to content

Commit 83f398b

Browse files
Update internal/librarianops/github_utils.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: miguel <miguelvelezsa@gmail.com>
1 parent ac46748 commit 83f398b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/librarianops/github_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func cloneRepoInDir(ctx context.Context, repoName string, repoDir string) error
4646
}
4747

4848
func generateBranchName(prefix string, time time.Time) string {
49-
return fmt.Sprintf("%s%s", prefix, time.Format("2006-01-02"))
49+
return fmt.Sprintf("%s%s", prefix, time.UTC().Format("20060102T150405Z"))
5050
}
5151

5252
func createBranch(ctx context.Context, branchName string) error {

0 commit comments

Comments
 (0)