Commit df2bb6d1 authored by mdsecurity's avatar mdsecurity
Browse files

deleting test functions i added

parent 4c76825f
...@@ -18,13 +18,7 @@ export class ContextBarComponent implements OnInit { ...@@ -18,13 +18,7 @@ export class ContextBarComponent implements OnInit {
data => { this.data = data }, data => { this.data = data },
error => { this.error = error } 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 { ...@@ -68,11 +68,11 @@ export class Place {
} else { } else {
sumSeconds = day.end_time.inSeconds() - inSeconds; sumSeconds = day.end_time.inSeconds() - inSeconds;
} }
timeTilClose.fromSeconds(sumSeconds)
return timeTilClose.toString(); return timeTilClose.fromSeconds(sumSeconds);
} }
}else{ }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