From aaaf030e512ea764bcfc8901ee5d9dd850854924 Mon Sep 17 00:00:00 2001 From: Joan Pau Beltran Date: Mon, 3 Nov 2014 16:43:20 +0100 Subject: [PATCH] Fix comment and revert changes in DST transition test as requested. --- dygraph.js | 2 +- tests/daylight-savings.html | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/dygraph.js b/dygraph.js index 2f17faa..2d1e4c9 100644 --- a/dygraph.js +++ b/dygraph.js @@ -246,11 +246,11 @@ Dygraph.dateAxisLabelFormatter = function(date, granularity, opts) { }; /** - * @private * Return a string version of a JS date for a value label. This respects the * labelsDateUTC option. * @param {Date} date The date to be formatted * @param {Dygraph} opts An options view + * @private */ Dygraph.dateValueFormatter = function(d, opts) { return Dygraph.dateString_(d, opts('labelsDateUTC')); diff --git a/tests/daylight-savings.html b/tests/daylight-savings.html index 0e28162..ddd8557 100644 --- a/tests/daylight-savings.html +++ b/tests/daylight-savings.html @@ -31,7 +31,9 @@
-

This chart shows a continuous line going across the "fall back" EST/EDT event. You may need to switch your computer's time zone to Eastern to see this. The x-axis tick marks go from 01:00 → 01:55 and then back to 01:00.

+

This chart shows a continuous line going across the "fall back" EST/EDT event. + You may need to switch your computer's time zone to Eastern to see this. + The x-axis tick marks go from 01:00 → 01:55 and then back to 01:00.


@@ -39,7 +41,8 @@
-

This chart shows a continuous series which crosses a "spring forward". The x-axis ticks should skip from 1:55AM to 3:00AM.

+

This chart shows a continuous series which crosses a "spring forward". + The x-axis ticks should skip from 1:50AM to 3:00AM.