Date based conditions are working for postgres.