mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
fix: timestamp formatting
This commit is contained in:
parent
d20d0c5a95
commit
425c0f1bab
3 changed files with 4 additions and 4 deletions
|
|
@ -165,7 +165,7 @@ func (i *tableCmp) updateRows() {
|
|||
|
||||
for _, log := range i.logs {
|
||||
// Format timestamp as time
|
||||
timeStr := time.Unix(log.Timestamp, 0).Format("15:04:05")
|
||||
timeStr := time.UnixMilli(log.Timestamp).Format("15:04:05")
|
||||
|
||||
// Include ID as hidden first column for selection
|
||||
row := table.Row{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue