title: Spring data mongodb search with date
body: <p>I am trying to use a filter by date like below.
  </p>
  
  <pre><code>// I am using the Kotlin language
  Criteria.where("date").lte(Date());
  </code></pre>
  
  <p>but instead of using the ISO format like "2015-05-16T07:55:23.257Z", spring data mongodb generate below query
  </p>
  
  <pre><code>{ "date" : { "$lte" : { "$date" : 1565820000000 }}}
  </code></pre>