diff options
| author | Jeff Carr <[email protected]> | 2025-10-11 08:54:53 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-11 09:26:56 -0500 |
| commit | 63e3a8382583af1d96da91295616df66fcf25dc4 (patch) | |
| tree | 97dd44114a87cb71a8e0dff51f0187affba18bd4 /tablePB.go | |
| parent | 300d69a300c2b4eaaab9dab4640ca1c9aeeac2f5 (diff) | |
a good day. finally the right place to put all this
Diffstat (limited to 'tablePB.go')
| -rw-r--r-- | tablePB.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,7 +7,6 @@ import ( "os" "time" - "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/guipb" "go.wit.com/log" "google.golang.org/protobuf/types/known/anypb" @@ -106,7 +105,7 @@ func getAnyCell(col *guipb.AnyCol, row int) (string, bool) { // It's a timestamp, now convert it back to a Go time.Time goTime := tsProto.AsTime() // fmt.Printf("Successfully unpacked timestamp: %v\n", goTime) - sout = shell.FormatDuration(time.Since(goTime)) + sout = FormatDuration(time.Since(goTime)) return sout, true } return "", false @@ -114,6 +113,6 @@ func getAnyCell(col *guipb.AnyCol, row int) (string, bool) { log.Info("cell unhandled type", col.Attr.Type) } // cellTime := r.Vals[row] - // s := shell.FormatDuration(time.Since(cellTime.AsTime())) + // s := FormatDuration(time.Since(cellTime.AsTime())) return "fixme", true } |
