panzarino / mlbgame

A Python API to retrieve and read MLB GameDay data
http://panz.io/mlbgame/
MIT License
526 stars 112 forks source link

Changing time zone to Pacific #132

Open erinbristow opened 5 years ago

erinbristow commented 5 years ago

Hi, I'm trying to change the time zone of the game times to Pacific. In the game.py script at around line 208, it mentions how the time zone is not specified but to consider it as Eastern. Where/how do I change it? Thanks!

panzarino commented 5 years ago

I'm not sure if you can change it. This seems to be a limitation of the XML files. However, I think the best approach would be to change the timezone of the returned object property before using it in your application.