title: DateUtils.formatDateRange() issues when formatting date range
body: <p>In my app, I receive dates from a webservice in the form <code>yyyy-MM-dd</code> (e.g. <code>2016-03-05</code>) and I need to format them as [abbreviated month] [date], e.g. <code>Mar 5</code>. Additionally, I have a start and end date and want to show them as a date range, unless both dates are the same.</p>
  
  <p>Currently I'm using <a href="http://file:///Users/jdkoren/android-sdk-macosx/docs/reference/android/text/format/DateUtils.html#formatDateRange(android.content.Context,%20long,%20long,%20int)" rel="nofollow"><code>DateUtils.formatDateRange()</code></a>, which should take care of my requirements and provide proper localization, but I'm running into two problems:</p>
  
  <ol>
  <li><p>When my end date is the day after my start date, <code>formatDateRange()</code>
  only shows the formatted start date. For example, if start date is
  <code>2016-03-05</code> and end date is <code>2016-03-06</code>, the method returns <code>Mar 5</code> (but it should be <code>Mar 5 - Mar 6</code>). Why does this happen?</p></li>
  <li><p>When the end date is in the same month, the month is not shown. For example, if start date is <code>2016-03-05</code> and end date is
  <code>2016-03-12</code>, the method returns <code>Mar 5 - 12</code>. Is there a way to make it show <code>Mar 5 - Mar 12</code> instead?</p></li>
  </ol>
  
  <p>Here is my code:</p>
  
  <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
  Date startDate, endDate;
  try {
      startDate = sdf.parse(startDateString);
      endDate = sdf.parse(endDateString);
  } catch (ParseException ignored) {
      return null;
  }
  
  int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_MONTH;
  return DateUtils.formatDateRange(context, startDate.getTime(), endDate.getTime(), flags);
  </code></pre>