Skip to content

Commit ada81a0

Browse files
Filmbostock
authored andcommitted
appropriate TODO comment
1 parent 7df4112 commit ada81a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/options.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ export function maybeInterval(interval) {
250250
range: (lo, hi) => rangei(Math.ceil(lo / n), hi / n).map((x) => n * x)
251251
};
252252
}
253+
// TODO local time intervals (or better, an explicit timeZone option).
253254
if (typeof interval === "string") {
254-
return maybeUtcInterval(interval); // TODO local time intervals?
255+
return maybeUtcInterval(interval);
255256
}
256257
if (typeof interval.floor !== "function" || typeof interval.offset !== "function") {
257258
throw new Error("invalid interval; missing floor or offset method");

0 commit comments

Comments
 (0)