source:
Dev/trunk/d3/src/time/days.js
@
76
Last change on this file since 76 was 76, checked in by fpvanagthoven, 14 years ago | |
---|---|
File size: 314 bytes |
Rev | Line | |
---|---|---|
[76] | 1 | d3.time.days = d3_time_range(d3.time.day, function(date) { |
2 | date.setDate(date.getDate() + 1); | |
3 | }, function(date) { | |
4 | return date.getDate() - 1; | |
5 | }); | |
6 | ||
7 | d3.time.days.utc = d3_time_range(d3.time.day.utc, function(date) { | |
8 | date.setUTCDate(date.getUTCDate() + 1); | |
9 | }, function(date) { | |
10 | return date.getUTCDate() - 1; | |
11 | }); |
Note: See TracBrowser
for help on using the repository browser.