title: Moment.js (^2.29.4), isSameOrAfter() and isSameOrBefore()
body: <p>i'm using the latest version of Moment.js (^2.29.4) so i can use its function including isSameOrAfter() and isSameOrBefore() but when i use it i got an error message says that isSameOrAfter and isSameOrBefore are not functions this If statement :</p>
  <pre><code>if (!( (storedStartDate.isSameOrAfter(moment(req.body.start).format('YYYY-MM-DD'))) &amp;&amp; 
              (storedEndDate.isSameOrBefore(moment(req.body.end).format('YYYY-MM-DD'))){...}
  </code></pre>
  <p>here is the version in my package.json :
  &quot;moment&quot;: &quot;^2.29.4&quot;,</p>
  <p>and i properly imported moment in the file</p>