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

Posts last week's final scores when run in certain timezones #103

Open
Samba89 opened this issue Sep 21, 2021 · 1 comment
Open

Posts last week's final scores when run in certain timezones #103

Samba89 opened this issue Sep 21, 2021 · 1 comment
Projects

Comments

@Samba89
Copy link

Samba89 commented Sep 21, 2021

When run in London timezone, the final score update posts the scores for last week's scores, and not the week that just finished. i.e. Week 2 just finished, the bot posted scores for week 1 again.

I presume this is because the bot is fetching week = league.current_week - 1 at 7.30am local time, and this is being run before the week ends in East Coast time.

@dtcarls
Copy link
Owner

dtcarls commented Sep 22, 2021

Something I didn't take into account. Not quite sure how to solve elegantly yet.

@dtcarls dtcarls added this to To do in Chat Bot Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants