Commit df2bb6d1 authored by mdsecurity's avatar mdsecurity
Browse files

deleting test functions i added

parent 4c76825f
......@@ -19,12 +19,6 @@ export class ContextBarComponent implements OnInit {
error => { this.error = error }
)
}
tempf = function(){
for(let i = 0; i<this.data.length;i++){
if(this.data[i].isOpen()){
console.log(this.data[i].name + ' OPEN: '+ this.data[i].openFor())
}
}
}
}
......@@ -68,11 +68,11 @@ export class Place {
} else {
sumSeconds = day.end_time.inSeconds() - inSeconds;
}
timeTilClose.fromSeconds(sumSeconds)
return timeTilClose.toString();
return timeTilClose.fromSeconds(sumSeconds);
}
}else{
return 'closed';
return 'Closed';
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment