update time output for block get
@@ -21,7 +21,6 @@ package blocks
import (
"bytes"
"fmt"
-
"github.com/onflow/flow-cli/internal/command"
"github.com/onflow/flow-go-sdk"
@@ -82,7 +81,8 @@ func (r *BlockResult) String() string {
_, _ = fmt.Fprintf(writer, "Block ID\t%s\n", r.block.ID)
_, _ = fmt.Fprintf(writer, "Parent ID\t%s\n", r.block.ParentID)
- _, _ = fmt.Fprintf(writer, "Timestamp\t%s\n", r.block.Timestamp)
+ _, _ = fmt.Fprintf(writer, "Proposal Timestamp\t%s\n", r.block.Timestamp)
+ _, _ = fmt.Fprintf(writer, "Proposal Timestamp Unix\t%d\n", r.block.Timestamp.Unix())
_, _ = fmt.Fprintf(writer, "Height\t%v\n", r.block.Height)
_, _ = fmt.Fprintf(writer, "Total Seals\t%v\n", len(r.block.Seals))
