Skip to content

Commit

Permalink
refactor: using built-in constant from the standard library
Browse files Browse the repository at this point in the history
Signed-off-by: piguagua <piguagua@aliyun.com>
  • Loading branch information
piguagua committed Jan 15, 2025
1 parent e11cd71 commit 1545819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebuilder/p2p/cmd/p2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ var connectionInfoCmd = &cobra.Command{
Info: s.Info,
NumStreams: s.NumStreams,
Direction: s.Direction.String(),
Opened: s.Opened.Format("2006-01-02 15:04:05"),
Opened: s.Opened.Format(time.DateTime),
Limited: s.Limited,
}
}
Expand Down

0 comments on commit 1545819

Please sign in to comment.