If you want to narrow the results you can pass from: or/and to: options. You can pass any valid value of type String, Date, DateTime or Time - it will be transformed to the date format
So this seems to be causing an issue where if a record was created after midnight then a query including today does not contain this record, since created_at is a DateTime.
Is there a particular reason to do the transformation to Date and not allow DateTime?
Or perhaps I missed something and there is some other way to include records created today?