pingswept / pysolar

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
http://pysolar.org
GNU General Public License v3.0
372 stars 125 forks source link

Removed dependency on pytz library #123

Closed mborsetti closed 4 years ago

mborsetti commented 4 years ago

Now using standard library datetime (already imported) to get UTC time; see https://docs.python.org/3/library/datetime.html#datetime.datetime.now

The (undocumented) dependency on pytz is removed