Closed tallPete closed 5 years ago
Hi. Thanks a lot for the bug report. It looks like the algorithms don't switch from one full moon to the next at the right moment. Will look into it.
As far as I can tell, this is now fixed (see 9a0937654a02e0e4ce42bffc00d549a9de7a63b5). And a Unit Test covers it. That was a simple floor/round error. Thanks again for your bug report!
The Pod is also updated.
Thank you to the generous folk who have fixed this. It is indeed resolved for all cases I have tested. Thanks again.
I am getting some incorrect results when trying to fetch the next full moon time when using Moon.time - public func time inside Moon.swift.
Here is some code
and here is the result
I have marked some lines as incorrect above, they show the next full moon as being on the 21st March, whereas the next full moon is actually still to come on 19th February. I haven't worked out the root cause of the issue yet, whether it is in SwiftAA or AA+, but I thought I would report it here. Cheers.