Lienus10 / yoptions

MIT License
12 stars 9 forks source link

timestamp to time using local timezone when it should use UTC #12

Open construct22 opened 9 months ago

construct22 commented 9 months ago

when the timestamp conversion from yahoo supplies timestamps is performed the conversion is taking place using the local timezone rather than UTC. Yahoo provides its timetamps using UTC so rather than using datetime.dateime.fromtimestamp datetime.datetime.utcfromtimestamp should be used