Skip to content
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

get future key dates #30

Open
anuaimi opened this issue Mar 26, 2023 · 1 comment
Open

get future key dates #30

anuaimi opened this issue Mar 26, 2023 · 1 comment

Comments

@anuaimi
Copy link

anuaimi commented Mar 26, 2023

Is there a way to get the future dates for key events (full moon, half moon etc)? Right now, it seems like the caller would have to get the current position of the moon and then do calculations. If this is a common request, it might be nice to put this functional in the library.

what I'm looking for is a way to get all the full, half moon for a range of dates: ie the current month, next few months

it would be nice if the api could take a range of dates (start and end) and return the key dates

this issue might be similar to #24

@jasonsturges
Copy link
Owner

@anuaimi Hi, more like #2 in which a next() and last() was desired.

But you're right in that primary and intermediary phases require a configuration option, sort of discussed in #19.

TypeScript release lays a foundation for a CycleStart option concept, which is ~1.84566173161 offset to determine the event; then, a ~3.69132346322 iteration to the next event.

This is further complicated by requests for anomalistic vs synodic, or 30 vs 31 alternating lunar months where this function intercalation is ~29.5 day lunar month at 12 lunations for accuracy over the next 31,000 years.

Mostly I have zero bandwidth at this time, at capacity with other projects.

But I do intend to circle back here at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants