ash-project / ash_sql

A library containing some shared Ecto-based sql data layer functionality.
MIT License
4 stars 8 forks source link

fix: use type for now expr if available #20

Closed frankdugan3 closed 5 months ago

frankdugan3 commented 5 months ago

Contributor checklist

This very simple change uses the type if not nil in the Now expr, which solves the problem of using a specialized type like :timstamptz that has different behavior than :datetime.

All tests pass on AshPostgres with this change.