Skip to content

added moon transits calculations#66

Open
JWebCoder wants to merge 2 commits intomourner:masterfrom
JWebCoder:moon_transits
Open

added moon transits calculations#66
JWebCoder wants to merge 2 commits intomourner:masterfrom
JWebCoder:moon_transits

Conversation

@JWebCoder
Copy link
Copy Markdown

I've added the possibility to calculate the moon transits.

var transits = suncalc.moonTransit(moonrise, moonset, lat, lng);

transits will be equal to an object like:
{main: {date}, invert: {date}}

The quantity of differences are because i've executed a little bit of jslint agains the file.

@mourner
Copy link
Copy Markdown
Owner

mourner commented Feb 3, 2016

Can you bring back the original formatting? I don't see the actual diff.

@JWebCoder
Copy link
Copy Markdown
Author

I've restored the original format.

Comment thread suncalc.js
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JWebCoder Mind to add the newline back where it was 😉 ?

@Hypnos3
Copy link
Copy Markdown

Hypnos3 commented Mar 13, 2022

published a new version which include this as https://github.com/Hypnos3/suncalc3

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

Successfully merging this pull request may close these issues.

5 participants