projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb545f
)
dygraph-tickers.js: Fix variable redeclaration
author
Lucas Bergman
<slb@google.com>
Wed, 6 Mar 2013 21:24:05 +0000
(15:24 -0600)
committer
Lucas Bergman
<lucas@bergmans.us>
Tue, 2 Apr 2013 15:35:28 +0000
(10:35 -0500)
dygraph-tickers.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-tickers.js
b/dygraph-tickers.js
index
4909909
..
155afb0
100644
(file)
--- 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