Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Gregorian Date for Molad #25

Open
psycomp opened this issue May 9, 2016 · 1 comment
Open

Wrong Gregorian Date for Molad #25

psycomp opened this issue May 9, 2016 · 1 comment

Comments

@psycomp
Copy link

psycomp commented May 9, 2016

I haven't started extensive testing, but today (May 9th) is Rosh Chodesh Iyar day #2, and the library says that the english date for the molad is "Fri May 13 2016 22:59:56 GMT-0400 (EDT)", which I believe is exactly 1 week late.

Sample Code:
var year = new Hebcal;
var date = new Hebcal.HDate();
console.log(year.getMonth(date.getMonth()).molad());

FWIW, the date/time of the molad is Jerusalem Solar Time, and it would be really cool to convert it to local solar time, and then local standard time, for calculating things like earliest/latest time to say kiddush levana.

@mjfeintuch
Copy link

I am having the same issue. It seems to be way off when generating the date object.

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

No branches or pull requests

2 participants