Skip to content

Conversation

JWebCoder
Copy link

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
Owner

mourner commented Feb 3, 2016

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

@JWebCoder
Copy link
Author

I've restored the original format.

Copy link

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

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