Skip to content

added moon transits calculations#66

Open
JWebCoder wants to merge 2 commits into
mourner:masterfrom
JWebCoder:moon_transits
Open

added moon transits calculations#66
JWebCoder wants to merge 2 commits into
mourner: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

mourner commented Feb 3, 2016

Copy link
Copy Markdown
Owner

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

Hypnos3 commented Mar 13, 2022

Copy link
Copy Markdown

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