solar_azimuth and soloar_elevation fail for naive datetimes

Bug #1417641 reported by Simon Kennedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
astral
Fix Released
High
Simon Kennedy

Bug Description

The solar_elevation and solar_calcualtion methods fail when a naive datetime object is passed. datetime.utcoffset returns None and attempting to obtain the number of seconds fails.

Changed in astral:
importance: Undecided → High
status: New → Triaged
status: Triaged → In Progress
assignee: nobody → Simon Kennedy (sffjunkie)
Changed in astral:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.