Refine will be launching soon 🎉 Sign up for the early access list to stay up to date.
Refine for Laravel
A package by Hammerstone

Date With Time Condition

Hammerstone Refine has not launched yet. Sign up for the early access list to stay up to date!

The DateWithTimeCondition is an extension of the DateCondition, with the default attribute type set to "date with time".

Therefore, the following two conditions are equivalent:

1// Using the Datetime condition.
2DateWithTimeCondition::make('published_at');
3 
4// Using the Date condition, but setting the attribute to datetime.
5DateCondition::make('published_at')->attributeIsDateWithTime();

To see what else is available to you, please read the DateCondition documentation.