Skip to content

Commit

Permalink
Fix imports of Locale
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jun 2, 2024
1 parent 9b00d6d commit 30d17b6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/core",
"version": "5.4.2",
"version": "5.4.3",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
"Eyal Schachter (https://github.com/Scimonster)",
Expand Down
2 changes: 1 addition & 1 deletion src/HebrewDateEvent.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {HDate, gematriya, months, Locale} from '@hebcal/hdate';
import {Event, flags} from './event';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

/** Daily Hebrew date ("11th of Sivan, 5780") */
export class HebrewDateEvent extends Event {
Expand Down
2 changes: 1 addition & 1 deletion src/HolidayEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {HDate, Locale, isoDateString} from '@hebcal/hdate';
import {Event, flags} from './event';
import {TimedEvent} from './TimedEvent';
import {holidayDesc as hdesc} from './staticHolidays';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

const minorHolidays = [
hdesc.LAG_BAOMER,
Expand Down
2 changes: 1 addition & 1 deletion src/MevarchimChodeshEvent.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {HDate, Locale, months} from '@hebcal/hdate';
import {Event, flags} from './event';
import {Molad} from './molad';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

const mevarchimChodeshStr = 'Shabbat Mevarchim Chodesh';

Expand Down
2 changes: 1 addition & 1 deletion src/ParshaEvent.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Event, flags} from './event';
import {HDate, Locale, isoDateString} from '@hebcal/hdate';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

/**
* Represents one of 54 weekly Torah portions, always on a Saturday
Expand Down
2 changes: 1 addition & 1 deletion src/TimedEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Location } from './location';
import { Event } from './event';
import { reformatTimeStr } from './reformatTimeStr';
import { Zmanim } from './zmanim';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

/** An event that has an `eventTime` and `eventTimeStr` */
export class TimedEvent extends Event {
Expand Down
2 changes: 1 addition & 1 deletion src/YomKippurKatanEvent.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {HDate, Locale} from '@hebcal/hdate';
import {flags} from './event';
import {HolidayEvent} from './HolidayEvent';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

export const ykk = 'Yom Kippur Katan';

Expand Down
2 changes: 1 addition & 1 deletion src/event.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {HDate, Locale} from '@hebcal/hdate';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

/**
* Holiday flags for Event
Expand Down
2 changes: 1 addition & 1 deletion src/hebcal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
getBirthdayHD, getYahrzeitHD, greg, months,
HDate, Locale,
} from '@hebcal/hdate';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations
import {CalOptions} from './CalOptions';
import {version as pkgVersion} from './pkgVersion';
import {DailyLearning} from './DailyLearning';
Expand Down
2 changes: 1 addition & 1 deletion src/molad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Event, flags} from './event';
import {CalOptions} from './CalOptions';
import {HDate, Locale, molad, Molad as MoladBase} from '@hebcal/hdate';
import {reformatTimeStr} from './reformatTimeStr';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

const shortDayNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
const heDayNames = ['רִאשׁוֹן', 'שֵׁנִי', 'שְׁלִישִׁי', 'רְבִיעִי', 'חֲמִישִׁי', 'שִׁישִּׁי', 'שַׁבָּת'];
Expand Down
2 changes: 1 addition & 1 deletion src/omer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
omerTodayIs
} from '@hebcal/hdate';
import {Event, flags} from './event';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations

/** Represents a day 1-49 of counting the Omer from Pesach to Shavuot */
export class OmerEvent extends Event {
Expand Down
2 changes: 1 addition & 1 deletion src/sedra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/
import {HDate, Locale, months} from '@hebcal/hdate';
import QuickLRU from 'quick-lru';
import '../src/locale'; // Adds Hebrew and Ashkenazic translations
import './locale'; // Adds Hebrew and Ashkenazic translations


const INCOMPLETE = 0;
Expand Down

0 comments on commit 30d17b6

Please sign in to comment.