title: D3 x-axis date not showing for Sundays
body: <p>I'm using the code below to display the day of the week and the month value for my data. D3 displays the date as expected e.g. "Sat 18" but for Sunday it shows the month instead e.g. "Oct 19"!</p>
  
  <p>Can't figure out why this is happening. The code is:</p>
  
  <pre><code> var xScale = d3.time.scale()
          .domain([new Date($scope.dataset[0][0].time),d3.time.day.offset(new Date($scope.dataset[0][$scope.dataset[0].length-2].time),2)])
          .rangeRound([0, w-0]);
   var xAxis = d3.svg.axis()
          .scale(xScale)
          .orient('bottom')
          .ticks(d3.time.days,1);
  </code></pre>
  
  <p>Any ideas why this is happening? the sample dataset looks like this:</p>
  
  <p>{time: "2014-10-19",y: 0,y0: 0}</p>