Sha256: c8a4a83f77094c0bb0d3738ed6a36dc270fa9769c86f7a02889028018c5409e9
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 Bytes
Contents
import "interval"; import "time"; d3.time.minute = d3_time_interval(function(date) { return new d3_time(Math.floor(date / 6e4) * 6e4); }, function(date, offset) { date.setTime(date.getTime() + Math.floor(offset) * 6e4); // DST breaks setMinutes }, function(date) { return date.getMinutes(); }); d3.time.minutes = d3.time.minute.range; d3.time.minutes.utc = d3.time.minute.utc.range;
Version data entries
4 entries across 4 versions & 2 rubygems