Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hivefans committed May 25, 2017
1 parent 1248ab9 commit 0e3d268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/echarts_timelinemap_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 0e3d268

Please sign in to comment.