this repo has no description
0
fork

Configure Feed

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

search: replace util.ParseTimestamp with syntax.ParseDatetimeLenient

+1 -2
+1 -2
search/indexing.go
··· 12 12 appbsky "github.com/bluesky-social/indigo/api/bsky" 13 13 "github.com/bluesky-social/indigo/atproto/identity" 14 14 "github.com/bluesky-social/indigo/atproto/syntax" 15 - "github.com/bluesky-social/indigo/util" 16 15 "github.com/ipfs/go-cid" 17 16 "go.opentelemetry.io/otel/attribute" 18 17 ··· 66 65 67 66 log = log.With("rkey", rkey) 68 67 69 - _, err := util.ParseTimestamp(rec.CreatedAt) 68 + _, err := syntax.ParseDatetimeLenient(rec.CreatedAt) 70 69 if err != nil { 71 70 log.Warn("post had invalid timestamp", "createdAt", rec.CreatedAt, "parseErr", err) 72 71 rec.CreatedAt = ""