Include the current week into timeline

The current week was cut off and not appeared in timeline.

Change-Id: Idb346e57f571ac1caab9f27066380b37497b9a56
This commit is contained in:
Ilya Shakhat 2013-10-18 16:35:49 +04:00
parent 362e87b3f5
commit 802e20a779

View File

@ -912,7 +912,7 @@ def timeline(records, **kwargs):
end_date = release_end_date = utils.timestamp_to_week(
release['end_date'])
now = utils.timestamp_to_week(int(time.time()))
now = utils.timestamp_to_week(int(time.time())) + 1
# expand start-end to year if needed
if release_end_date - release_start_date < 52: