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

inconsistent timezone #1

Closed
whod81 opened this issue Feb 28, 2017 · 2 comments
Closed

inconsistent timezone #1

whod81 opened this issue Feb 28, 2017 · 2 comments

Comments

@whod81
Copy link

whod81 commented Feb 28, 2017

Same program ran twice the timezone is different both times.

[ryan@ryanvile fgc]$ ./get_tournament.py | grep start 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 11, 35**, tzinfo=<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_at': datetime.datetime(2017, 2, 28, 11, 43, 51, 214000, **tzinfo=<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_checking_in_at': None, 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 13, 30, tzinfo=**<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_at': datetime.datetime(2017, 2, 28, 16, 58, 58, 792000, **tzinfo=<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_checking_in_at': None, 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 17, 35, tzinfo=**<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_at': datetime.datetime(2017, 2, 28, 18, 2, 39, 53000, **tzinfo=<FixedOffset '-05:00' datetime.timedelta(-1, 68400)>),** 'started_checking_in_at': None, [ryan@ryanvile fgc]$ ./get_tournament.py | grep start 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 17, 35, tzinfo=**<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_at': datetime.datetime(2017, 2, 28, 17, 43, 51, 214000, **tzinfo=<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_checking_in_at': None, 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 19, 30, **tzinfo=<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_at': datetime.datetime(2017, 2, 28, 22, 58, 58, 792000, **tzinfo=<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_checking_in_at': None, 'group_stages_were_started': False, 'public_predictions_before_start_time': False, 'start_at': datetime.datetime(2017, 2, 28, 23, 35, tzinfo=**<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_at': datetime.datetime(2017, 3, 1, 0, 2, 39, 53000, **tzinfo=<FixedOffset '+01:00' datetime.timedelta(0, 3600)>),** 'started_checking_in_at': None,

@ZEDGR
Copy link
Owner

ZEDGR commented Mar 3, 2017

I think this problem is from challonge. I will investigate more in the next few days maybe I will introduce the timezone parameter.

@ZEDGR
Copy link
Owner

ZEDGR commented Mar 25, 2017

Thanks for reporting.
Fixed by 05b6201

Uninstall pychal and install using the following:
pip install -e git+http://github.com/ZEDGR/pychal#egg=pychal

I will upload a new version on pypi soon.

@ZEDGR ZEDGR closed this as completed Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants