Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Average Weekday Graph Not Correct #16

Open
GoogleCodeExporter opened this issue Jul 4, 2015 · 1 comment
Open

Average Weekday Graph Not Correct #16

GoogleCodeExporter opened this issue Jul 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi Dale

Great app, just a small issue the Average Day graph has a title of Average
Weekday.  Actually the code isn't using weekday it's actually using weekends

       for k, v in hourData.iteritems():
            if v > 0:
                if k.weekday() >= 5:
                    hoursCount[k.hour] += 1
                    hoursSum[k.hour] += v

While not being wrong, a week day and weekend version would be useful (or
quick title change of course).

Regards

Rob

Original issue reported on code.google.com by ro...@btopenworld.com on 19 Dec 2009 at 1:14

@GoogleCodeExporter
Copy link
Author

Good spot! :-)

Thanks very much for letting me know - I agree that a separate weekend and 
weekday 
graph would be a good fix. Will do it after Christmas

Original comment by dale.l...@gmail.com on 23 Dec 2009 at 10:38

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant