Skip to content

Commit

Permalink
fix: add more info to creationtime format
Browse files Browse the repository at this point in the history
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com>
  • Loading branch information
ashutosh16 committed Sep 9, 2022
1 parent 6b4c2d3 commit dc7059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/applications/components/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ export function appInstanceName(app: appModels.Application): string {
return app.metadata.namespace + '_' + app.metadata.name;
}

export function formatCreationTimestamp(creationTimestamp: any) {
export function formatCreationTimestamp(creationTimestamp: string) {
const createdAt = moment
.utc(creationTimestamp)
.local()
Expand Down

0 comments on commit dc7059a

Please sign in to comment.