| author | Nicolas Sauret <nicolas.sauret@iri.centrepompidou.fr> |
| Fri, 18 Apr 2014 14:31:58 +0200 | |
| changeset 51 | 79833eaa394a |
| parent 47 | c0b4a8b5a012 |
| permissions | -rw-r--r-- |
d3.time.hours = d3_time_range(d3.time.hour, d3_time_hoursStep, function(date) { return date.getHours(); }); d3.time.hours.utc = d3_time_range(d3.time.hour.utc, d3_time_hoursStep, function(date) { return date.getUTCHours(); }); function d3_time_hoursStep(date) { date.setTime(date.getTime() + 36e5); }