Closed mborsetti closed 4 years ago
Updated version of #125 that modifies test scripts in addition to base code.
Removed dependency on pytz library by using standard library datetime (already imported) to get UTC time, as per note in https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow on how to obtain an aware current UTC datetime.
pytz
datetime
P.S. Followed instructions at https://github.com/pingswept/pysolar/blob/master/development-notes.md
Thanks for the patch, Mike!
Updated version of #125 that modifies test scripts in addition to base code.
Removed dependency on
pytz
library by using standard librarydatetime
(already imported) to get UTC time, as per note in https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow on how to obtain an aware current UTC datetime.P.S. Followed instructions at https://github.com/pingswept/pysolar/blob/master/development-notes.md