Skip to content

Commit

Permalink
update converting DeployedAt time data to string
Browse files Browse the repository at this point in the history
Signed-off-by: Mangaal <[email protected]>
  • Loading branch information
Mangaal committed Mar 14, 2024
1 parent 760fedf commit 00c28af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ func printApplicationHistoryTable(revHistory []argoappv1.RevisionHistory) {
}
varHistory[depInfo.Source.RepoURL] = append(varHistory[depInfo.Source.RepoURL], history{
id: depInfo.ID,
date: fmt.Sprintf("%s", depInfo.DeployedAt),
date: depInfo.DeployedAt.String(),
revision: rev,
})
}
Expand All @@ -2489,7 +2489,7 @@ func printApplicationHistoryTable(revHistory []argoappv1.RevisionHistory) {
}
varHistory[sourceInfo.RepoURL] = append(varHistory[sourceInfo.RepoURL], history{
id: depInfo.ID,
date: fmt.Sprintf("%s", depInfo.DeployedAt),
date: depInfo.DeployedAt.String(),
revision: rev,
})
}
Expand Down

0 comments on commit 00c28af

Please sign in to comment.