X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-tickers.js;h=155afb05241d4ab2ff7dae3f698968f4543324a3;hb=48fc47867e9796ad49e105546fbb21c5304039c1;hp=4909909ae681befb9ded8056c7c78fc6d62a3ee4;hpb=745e9e52bf0c9fe1eec18ad64d76787419b033f4;p=dygraphs.git diff --git a/dygraph-tickers.js b/dygraph-tickers.js index 4909909..155afb0 100644 --- a/dygraph-tickers.js +++ b/dygraph-tickers.js @@ -386,7 +386,7 @@ Dygraph.getDateAxis = function(start_time, end_time, granularity, opts, dg) { var check_dst = (spacing >= Dygraph.SHORT_SPACINGS[Dygraph.TWO_HOURLY]); for (t = start_time; t <= end_time; t += spacing) { - var d = new Date(t); + d = new Date(t); // This ensures that we stay on the same hourly "rhythm" across // daylight savings transitions. Without this, the ticks could get off