studioespresso / craft-date-range

Date range field for Craft CMS
MIT License
12 stars 6 forks source link

isFuture()/isPast()/etc. are not PostgreSQL compatible #17

Closed ghost closed 3 years ago

ghost commented 4 years ago

The query behaviours are using JSON_EXTRACT() which is Mysql specific and thus not compatible in craft instances using PostgreSQL.

Maybe mention this in the docs or something if it's not worth a fix.

janhenckens commented 3 years ago

This should be fix in 2.3.0