-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full moon, new moon, first quarter, and last quarter too long #23
Comments
I'm using moment.js, so I am now getting the correct phases like this. Note that I only want to know if the moon phase happens on a certain day. Technically these moonphases happen only a specific time of that day.
|
@nadiavanleur Hi, each phase is 3.691 days in a ~29.5 day lunar month for 12 lunations a year. This intercalation normalizes years (and leap years) providing accuracy for the next 31,000 years at which point this calculation will be 1-day behind. Yes, there are primary and intermediary phases. The idea of an event is difficult to encapsulate here - it would be a fractional moment in time, essentially never shown. Original intent of this package was weather station graphics implementation, giving a user indication of the current phase. Still contemplating user feedback in terms of the next version of this package. There's diversity in application that people want to leverage, and I believe configuration through an options pattern is possible. Working on that now, though distracted with other pressing responsibilities. Understanding how this is used in your application might help. Also, note that Moment.js is deprecated, now in maintenance mode. You might want to consider a different package like day.js. |
Created #24 to isolate the primary concern here. |
This plugin is telling me the moon phases in the title last 3 to 4 days. However, these phases only happen on one moment. While waning/waxing gibbous/crescent can last multiple days, the other phases cannot.
The text was updated successfully, but these errors were encountered: