omz/AppSales-Mobile — pull request #195 by aporat (2012-01-16 05:35:40+00:00)
Title: Duplicate weekly reports issue fix

Looks like there's a bug in itunes connect reporting tool, which cause the duplicated weekly reports (#177)

Requesting a weekly report (on Sunday, before the generation is completed) will return the weekly report of the passing week.

For example, this request will return the weekly report for 20120108. (only on sunday)

USERNAMETYPEOFREPORT=Sales&DATETYPE=Daily&REPORTTYPE=Summary&REPORTDATE=20120115

this bug fix will prevent entering duplicated reports into the appsales db.