volleyball-dev-frontend/node_modules/d3-interpolate/src/date.js
2025-06-02 16:42:16 +00:00

7 lines
144 B
JavaScript

export default function(a, b) {
var d = new Date;
return a = +a, b = +b, function(t) {
return d.setTime(a * (1 - t) + b * t), d;
};
}