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

tzinfo flag doesn't appear to do anything #259

Open
6peterlu opened this issue Apr 7, 2021 · 0 comments
Open

tzinfo flag doesn't appear to do anything #259

6peterlu opened this issue Apr 7, 2021 · 0 comments

Comments

@6peterlu
Copy link

6peterlu commented Apr 7, 2021

I'm parsing as follows:

datetime_data, parse_status = cal.parseDT(incoming_msg, tzinfo=pytz.utc)

but the resulting datetime_data is based on the timezone of my local machine instead of UTC. What's the correct way to do this?

Thanks a bunch!

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

1 participant