pksunkara / pgx_ulid

Postgres extension for ulid
MIT License
346 stars 21 forks source link

Use the appropriate method for unix timestamp conversion #25

Closed HRKings closed 1 year ago

HRKings commented 1 year ago

This is a quick PR just to remove any magic numbers from the ulid_to_timestamp method. This uses the appropriate method to convert from a Unix Epoch to a PostgreSQL Timestamp