Skip to content

How is this different than suncalc? #12

@IonicaBizau

Description

@IonicaBizau

I'm seeing quite a bit of difference compared with suncalc.

> (require("suncalc")).getTimes(new Date(2017, 11, 15, 12), 46.19, 21.32).sunset
2017-12-15T14:50:31.382Z
> new (require("solar-calc"))(new Date(2017, 11, 15, 12), 46.19, 21.32).sunset
2017-12-15T14:49:11.000Z

Now, the obvious answer would be to check out the code. But I'm lost in all those computations. 😂

Thanks for the great work, @jonhester! 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions