title: Checking if a day is the same day (but not year) with momentjs
body: <p>I'm using <code>momentjs</code> to determine wether or not a date is a persons birthday. But for some reason <code>moment</code> always returns <code>false</code> and I'm not sure why.</p>
  
  <p><strong>Used code</strong></p>
  
  <pre><code>moment(dateObject).isSame(moment(otherDateObject), 'day')
  </code></pre>
  
  <p><strong>What is returned when logging the individual dates and the <code>isSame()</code></strong></p>
  
  <p><a href="https://i.stack.imgur.com/k8rGp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k8rGp.png" alt="enter image description here"></a></p>
  
  <p>Any ideas on what the issue is here? As you can see the only difference in the 2 moment instances is the year.</p>
  
  <p><strong>From momentjs</strong></p>
  
  <blockquote>
    <p>Passing in day will check day, month, and year</p>
  </blockquote>
  
  <p>So how do I check if it is the matching day and month then?</p>