will / crystal-pg

a postgres driver for crystal
BSD 3-Clause "New" or "Revised" License
462 stars 77 forks source link

fix: timestamp(tz) arithmetic overflow #277

Closed snadon closed 8 months ago

snadon commented 9 months ago

A regression is causing an arithmetic overflow on some timestamp(tz)s.

bcardiff commented 9 months ago

Wouldn't this be a bug in std-lib? Having a workaround here might make sense while that is updated, but the original seems it should work, right?

snadon commented 8 months ago

Closing this issue since it will be resolved soon in std-lib.

will commented 8 months ago

Thanks for finding the bug in the first place!