Skip to content

Commit 09fe7bf

Browse files
threehonorquantix9
authored andcommitted
refactor: use time.DateTime constant from standard library (celestiaorg#4184)
Signed-off-by: threehonor <[email protected]>
1 parent f7ee5c0 commit 09fe7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodebuilder/p2p/cmd/p2p.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ var connectionInfoCmd = &cobra.Command{
638638
Info: s.Info,
639639
NumStreams: s.NumStreams,
640640
Direction: s.Direction.String(),
641-
Opened: s.Opened.Format("2006-01-02 15:04:05"),
641+
Opened: s.Opened.Format(time.DateTime),
642642
Limited: s.Limited,
643643
}
644644
}

0 commit comments

Comments
 (0)