Closed dannycohn closed 7 years ago
Or you know, just ask it for a Saturday date. ;)
I am able to reproduce this bug, but i am quite confused as to what is going on here. My own code has outsmarted me here. I think it has something to do with the location being set, or not.
Seems related to #9.
Has been fixed in the latest version.
var today = hebcal.find('today')[0]; var havdalah = today.havdalah();
Run this on a Saturday (or set the computer's clock to Saturday). The time components in havdalah will be correct, but the date will be for Friday.