Skip to content

getUpcomingLastQuarter skipping actual next date of last quarter moon phase #21

@swgordon

Description

@swgordon

If I run this

const startDate: Date = new Date(Date.UTC(2021, 1, 1));
const toi = createTimeOfInterest.fromDate(startDate);
const lastQuarterDate = createMoon(toi).getUpcomingLastQuarter();

Assuming I am not missing something, lastQuarterDate should be on the 4th of Feb 2021.
Instead, what I am getting is the 6th of March 2021, which is the date of the last quarter moon phase after the upcoming last quarter.
(library version is 5.17.8)

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