From: Joan Pau Beltran Date: Mon, 3 Nov 2014 15:43:20 +0000 (+0100) Subject: Fix comment and revert changes in DST transition test as requested. X-Git-Tag: v1.1.0~31^2~8 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=aaaf030e512ea764bcfc8901ee5d9dd850854924;p=dygraphs.git Fix comment and revert changes in DST transition test as requested. --- 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.