From c180fde537a6c17ef6cf68cd7d9334e89a794450 Mon Sep 17 00:00:00 2001 From: Lucas Bergman Date: Wed, 6 Mar 2013 15:24:05 -0600 Subject: [PATCH] dygraph-tickers.js: Fix variable redeclaration --- dygraph-tickers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4