jackc / pgtype

MIT License
318 stars 112 forks source link

BC Dates cause errors for the pgdate scanner #193

Closed masterkidan closed 2 years ago

masterkidan commented 2 years 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 2 years ago

192 Addresses this issue, would appreciate some reviews here.

masterkidan commented 2 years ago

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

jackc commented 2 years ago

Just tagged v1.13.0.