1
0
Fork 0

fix: exports

master
Michael Salaverry 2021-12-11 19:45:22 +02:00
parent 8e2ddc69c9
commit e42f12e4e9
No known key found for this signature in database
GPG Key ID: 438AB878C0FB04CC
1 changed files with 4 additions and 2 deletions

View File

@ -93,7 +93,7 @@ var gWeekday = new weekdayarr("Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "S
* - `month_name`: The Hebrew month name.
* - `date`: The Hebrew date.
*/
export const hebrewDate = function (inputDateOrYear) {
function hebrewDate(inputDateOrYear) {
var inputMonth, inputDate;
var hebrewMonth = 0, hebrewDate = 0, hebrewYear = 0, metonicCycle = 0, metonicYear = 0, moladDay = 0, moladHalakim = 0;
function GregorianToSdn(inputYear, inputMonth, inputDay) {
@ -306,4 +306,6 @@ export const hebrewDate = function (inputDateOrYear) {
date: hebrewDate,
month_name: hMonth[hebrewMonth - 1]
};
};
};
exports.hebrewDate = hebrewDate;