When trying to folter for a date, providing the date just like it’s found in the DB table doesn’t work:
await strapi.db.query('api::stuff.stuff').findOne({
where: {
validFrom: {
$eq: '2024-04-01'
},
Erroring with:
InvalidTimeFormat: Invalid date```
The field's type is set to `date`.
<i>This topic has been created from a Discord post (1228334511562162366) to give it more visibility.
It will be on Read-Only mode here.
<a href="https://discord.com/channels/811989166782021633/1228334511562162366/1228334511562162366">Join the conversation on Discord</a></i>