We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c36befc commit 305f396Copy full SHA for 305f396
src/time/day.js
@@ -3,7 +3,7 @@ import "time";
3
import "year";
4
5
d3_time.day = d3_time_interval(function(date) {
6
- var day = new d3_date(2000, 0);
+ var day = new d3_date(2000, 0, 0);
7
day.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());
8
return day;
9
}, function(date, offset) {
0 commit comments