Skip to content

Commit

Permalink
file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Tait committed Jul 22, 2024
1 parent d30c72f commit 55556cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { fromISODate, toISOString } from "./iso";
export { fromYMD, getYearMonthDay } from "./yold";
export { nextDay } from "./nextDay";
export { fromISODate, toISOString } from "./iso.js";
export { fromYMD, getYearMonthDay } from "./yold.js";
export { nextDay } from "./nextDay.js";
4 changes: 2 additions & 2 deletions src/iso.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fromYMD } from "./yold";
import { getYearMonthDay } from "./yold";
import { fromYMD } from "./yold.js";
import { getYearMonthDay } from "./yold.js";

/**
* Convert an ISO date string to a YOLD date.
Expand Down
4 changes: 2 additions & 2 deletions src/nextDay.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { isLeapYear } from "./isLeapYear";
import { isLeapYear } from "./isLeapYear.js";
import {
extractDayOfWeekOfDayBefore,
extractLeapYear,
extractOrdinal,
extractYear,
mask,
} from "./yold";
} from "./yold.js";

/**
* Get the next day
Expand Down
4 changes: 2 additions & 2 deletions src/yold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getLastDayOfYearDayOfWeek } from "./getLastDayOfYearDayOfWeek";
import { isLeapYear } from "./isLeapYear";
import { getLastDayOfYearDayOfWeek } from "./getLastDayOfYearDayOfWeek.js";
import { isLeapYear } from "./isLeapYear.js";

/**
* Mask a year, ordinal, leap year, and day of week into a single number.
Expand Down

0 comments on commit 55556cc

Please sign in to comment.