diff options
Diffstat (limited to 'internal/tui')
| -rw-r--r-- | internal/tui/components/logs/details.go | 2 | ||||
| -rw-r--r-- | internal/tui/components/logs/table.go | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/internal/tui/components/logs/details.go b/internal/tui/components/logs/details.go index 5ad59b47a..631bb97b3 100644 --- a/internal/tui/components/logs/details.go +++ b/internal/tui/components/logs/details.go @@ -66,7 +66,7 @@ func (i *detailCmp) updateContent() { levelStyle := getLevelStyle(i.currentLog.Level) // Format timestamp - timeStr := time.UnixMilli(i.currentLog.Timestamp).Format(time.RFC3339) + timeStr := i.currentLog.Timestamp.Format(time.RFC3339) header := lipgloss.JoinHorizontal( lipgloss.Center, diff --git a/internal/tui/components/logs/table.go b/internal/tui/components/logs/table.go index 0c0070f42..dbfc9c9f9 100644 --- a/internal/tui/components/logs/table.go +++ b/internal/tui/components/logs/table.go @@ -2,7 +2,6 @@ package logs import ( "context" - "time" "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/table" @@ -161,7 +160,7 @@ func (i *tableCmp) updateRows() { for _, log := range i.logs { // Format timestamp as time - timeStr := time.UnixMilli(log.Timestamp).Format("15:04:05") + timeStr := log.Timestamp.Format("15:04:05") // Include ID as hidden first column for selection row := table.Row{ |
