Body: <p>This worked correctly in 4.6.8, but not in 4.7.0 or 4.7.1.  This query returns no results:</p>
  
  <pre><code>$result = civicrm_api3('Contribution', 'get', array(
    'sequential' =&gt; 1,
    'receive_date' =&gt; array('BETWEEN' =&gt; array("2016-01-01", "2016-03-31")),
  ));
  </code></pre>
  
  <p>But this one does return contributions from 2016:</p>
  
  <pre><code>$result = civicrm_api3('Contribution', 'get', array(
    'sequential' =&gt; 1,
    'receive_date' =&gt; array('BETWEEN' =&gt; array("2015-12-31", "2016-03-31")),
  ));
  </code></pre>
  
  <p>As far as I can tell, any query for contributions in the same year returns no results.  Is this a bug?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-16T06:05:19.757Z
Comments.Text: does the second one returns correctly all the contributions you expect? it does seems strange indeed
Comments.UserDisplayName: Xavier
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-16T23:16:08.203Z
Comments.Text: Without doing an exhaustive comparison...yes, the second one seems to find all 100+ contributions correctly.
Comments.UserDisplayName: Norris
Tags: <api><contributions><issues>
Title: 4.7.1 API query for contributions in same year returns no results
ThreadText: # 4.7.1 API query for contributions in same year returns no results
  
  (Asked by: username_0 on 2016-02-15)
  
  This worked correctly in 4.6.8, but not in 4.7.0 or 4.7.1.  This query returns no results:
  $result = civicrm_api3('Contribution', 'get', array(
    'sequential' => 1,
    'receive_date' => array('BETWEEN' => array("2016-01-01", "2016-03-31")),
  ));
  
  But this one does return contributions from 2016:
  $result = civicrm_api3('Contribution', 'get', array(
    'sequential' => 1,
    'receive_date' => array('BETWEEN' => array("2015-12-31", "2016-03-31")),
  ));
  
  As far as I can tell, any query for contributions in the same year returns no results.  Is this a bug?
  
  **Tags:** api, contributions, issues
  
  > **Comments:**
  > **username_1**: does the second one returns correctly all the contributions you expect? it does seems strange indeed  
  > **username_0**: Without doing an exhaustive comparison...yes, the second one seems to find all 100+ contributions correctly.  
  
  ---
  
  ## 0 answers
  
  