Move date accessors to utils script and adapt tick generation and format.
authorJoan Pau Beltran <joanpau.beltran@socib.cat>
Mon, 3 Nov 2014 15:45:33 +0000 (16:45 +0100)
committerJoan Pau Beltran <joanpau.beltran@socib.cat>
Tue, 4 Nov 2014 13:57:56 +0000 (14:57 +0100)
commit1e7f8af02c2ddc8320aa9b0aa98194c883b7b749
treee4ff2210b15def8ab380da9c621c14c93aa1afde
parentaaaf030e512ea764bcfc8901ee5d9dd850854924
Move date accessors to utils script and adapt tick generation and format.

Add two properties to the `Dygraph` object to hold the date accessor methods
according to either UTC or local time.

Use these accessors to simplify a little bit the label format
and the tick generation.
dygraph-tickers.js
dygraph-utils.js