Skip to content

Conversation

@fulifeng
Copy link

The current version of client is using the default timezone to encode a time string from the timestamp returned. It causes the encoded time string as a local one since the default timezone in python is localized. For example, if I'm in UTC+8, the encoded time string will be about 12/13 hours earlier than the real one. So I add a timezone parameter for the datetime.fromtimestamp function.

@troymaclure
Copy link

Just a question to see if I understand correctly : the time zone used in the bug fix if only valid for exchange localized in America/New_York ?

What about exchanges localized in Europe, India,...

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

Successfully merging this pull request may close these issues.

2 participants