From 0e3d268d1a0a95029dbf9b59c633cf27cbc551ab Mon Sep 17 00:00:00 2001 From: hivefans Date: Thu, 25 May 2017 17:26:08 +0800 Subject: [PATCH] fix bug --- public/echarts_timelinemap_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/echarts_timelinemap_controller.js b/public/echarts_timelinemap_controller.js index 80a9b39..fed861e 100644 --- a/public/echarts_timelinemap_controller.js +++ b/public/echarts_timelinemap_controller.js @@ -102,7 +102,7 @@ module.controller('EchartsTimelineMapController', function ($scope, $element, $r avg_speed = row[3]; avg_speed=avg_speed.toFixed(2); - if(all.dates.indexOf(datestr)===-1){ + if(all.dates.indexOf(getdateformat(datestr))===-1){ all.dates.push(getdateformat(datestr)); all.options.push( {