From 22f8bf39d3b7e68df59d59a1824fb570645e5726 Mon Sep 17 00:00:00 2001 From: gregwebs Date: Mon, 16 Apr 2012 15:20:46 -0700 Subject: [PATCH] support date object. #37 --- timeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/timeline.js b/timeline.js index c3522a0..ead9750 100644 --- a/timeline.js +++ b/timeline.js @@ -2963,6 +2963,8 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { ================================================== */ // VMM.Util.parseDate(str) parseDate: function(d) { + if (typeof(d) == "object") { return d; } + var _date; if ( d.match(/,/gi) ) {