Skip to content

Commit

Permalink
Fix constructNow import paths (#3734)
Browse files Browse the repository at this point in the history
  • Loading branch information
fturmel committed Mar 15, 2024
1 parent 05d7afd commit 3d118e2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/constructNow/index.ts
@@ -1,4 +1,4 @@
import { constructFrom } from "../index.js";
import { constructFrom } from "../constructFrom/index.js";

/**
* @name constructNow
Expand Down
2 changes: 1 addition & 1 deletion src/formatDistanceToNow/index.ts
@@ -1,6 +1,6 @@
import { constructNow } from "../constructNow/index.js";
import type { FormatDistanceOptions } from "../formatDistance/index.js";
import { formatDistance } from "../formatDistance/index.js";
import { constructNow } from "../index.js";

/**
* The {@link formatDistanceToNow} function options.
Expand Down
2 changes: 1 addition & 1 deletion src/formatDistanceToNowStrict/index.ts
@@ -1,6 +1,6 @@
import type { FormatDistanceStrictOptions } from "../formatDistanceStrict/index.js";
import { formatDistanceStrict } from "../formatDistanceStrict/index.js";
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";

/**
* The {@link formatDistanceToNowStrict} function options.
Expand Down
2 changes: 1 addition & 1 deletion src/isThisHour/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameHour } from "../isSameHour/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisISOWeek/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameISOWeek } from "../isSameISOWeek/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisMinute/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameMinute } from "../isSameMinute/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisMonth/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameMonth } from "../isSameMonth/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisQuarter/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameQuarter } from "../isSameQuarter/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisSecond/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameSecond } from "../isSameSecond/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isThisWeek/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameWeek } from "../isSameWeek/index.js";
import type { LocalizedOptions, WeekOptions } from "../types.js";

Expand Down
2 changes: 1 addition & 1 deletion src/isThisYear/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameYear } from "../isSameYear/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isTomorrow/index.ts
@@ -1,5 +1,5 @@
import { addDays } from "../addDays/index.js";
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameDay } from "../isSameDay/index.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/isYesterday/index.ts
@@ -1,4 +1,4 @@
import { constructNow } from "../index.js";
import { constructNow } from "../constructNow/index.js";
import { isSameDay } from "../isSameDay/index.js";
import { subDays } from "../subDays/index.js";

Expand Down

0 comments on commit 3d118e2

Please sign in to comment.