this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gosky: replace util.ParseTimestamp with syntax.ParseDatetime

+2 -2
+2 -2
cmd/gosky/main.go
··· 747 747 748 748 if len(out.Labels) > 0 { 749 749 last := out.Labels[len(out.Labels)-1] 750 - ts, err := util.ParseTimestamp(last.Cts) 750 + dt, err := syntax.ParseDatetime(last.Cts) 751 751 if err != nil { 752 752 return fmt.Errorf("invalid cts: %w", err) 753 753 } 754 - since = ts.UnixMilli() 754 + since = dt.Time().UnixMilli() 755 755 } else { 756 756 break 757 757 }