diff --git a/apps/hebrew_calendar/hebrewDate.js b/apps/hebrew_calendar/hebrewDate.js index 68c63825f..ba36f7d34 100644 --- a/apps/hebrew_calendar/hebrewDate.js +++ b/apps/hebrew_calendar/hebrewDate.js @@ -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] }; -}; \ No newline at end of file +}; + +exports.hebrewDate = hebrewDate;