Issues with future dates in transits.py
Opened this issue · 0 comments
ajt commented
I was trying to use the code in transits.py
as a way to determine the moon's transits against a user's natal chart. I was trying to use the code within transits.py
to compare the user's chart with a "today" chart for a year in the future.
When I change the datetime of the "today" chart to a date into the future, the calculations I get for date_end, date_exact, etc are considerably off. I believe that this is because calculate_date_range_for_transit
is using datetime.utcnow()
as "today's date". Is this the case? Could I pass in a datetime object to be used? I am a little in over my head WRT the astrology calculations. I appreciate any help you can lend.