Added whole week data.
Dynamically generate time bar.
Fixed time limiting bug in original code.