try to fix postSql date comparation