Skip to content

Commit 0e3d268

Browse files
committed
fix bug
1 parent 1248ab9 commit 0e3d268

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/echarts_timelinemap_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.controller('EchartsTimelineMapController', function ($scope, $element, $r
102102
avg_speed = row[3];
103103
avg_speed=avg_speed.toFixed(2);
104104

105-
if(all.dates.indexOf(datestr)===-1){
105+
if(all.dates.indexOf(getdateformat(datestr))===-1){
106106
all.dates.push(getdateformat(datestr));
107107
all.options.push(
108108
{

0 commit comments

Comments
 (0)