jackc / pgtype

MIT License
300 stars 111 forks source link

BC Dates cause errors for the pgdate scanner #193

Closed masterkidan closed 1 year ago

masterkidan commented 1 year ago

It looks like pgdate type doesn't handle BC types well. When trying to parse these, we get the following error: parsing time "0001-01-01 BC": extra text: " BC"

masterkidan commented 1 year ago

192 Addresses this issue, would appreciate some reviews here.

masterkidan commented 1 year ago

Looks like #192 is now merged, @jackc would it be possible to get a release with that fix?

jackc commented 1 year ago

Just tagged v1.13.0.