browserutils / kooky

Go code to read cookies from browser cookie stores.
MIT License
210 stars 41 forks source link

json: allow invalid RF3339 times #88

Closed srlehn closed 4 days ago

srlehn commented 4 days ago

Checklist

Describe the bug

json marshaling time.Time results in an error for dates with more than 4 years ((too) strict RFC3339 times).

// https://github.com/golang/go/issues/4556 // https://github.com/golang/go/issues/54580

encoding/json/v2 "format"(?) might simplify this if it is added to the standard library.

How to reproduce

kooky cli tool with -j option

Example code

-

Kooky version

c14297c

Go compiler version

1.23.2

Browser

-

Operating system and version

-

srlehn commented 4 days ago

solved by ff3b650