Handle missing weeks at the start of the report period. 2014-04-10
authorIain Patterson <me@iain.cx>
Thu, 10 Apr 2014 15:29:18 +0000 (11:29 -0400)
committerIain Patterson <me@iain.cx>
Thu, 10 Apr 2014 15:29:18 +0000 (11:29 -0400)
If there were no orders during the first week(s) of a report period we
were incorrectly treating the first week in which there were orders as
week 1.

We now determine the week offset based on the yearweek of the period
start date and correctly include one or more weeks with zero orders in
the output.


No differences found