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( {