Hello!
So whenever I use $lte & $gte I get casting error for dates via mongoose. This seems something specific to glitch. Sombody else faced the same problem & asked for answer on Stackoverflow. Sadly I couldnt find an answer.
My code is at
Thanks!