Skip to content

Commit

Permalink
Merge pull request #329 from discordextremelist/carolina-next
Browse files Browse the repository at this point in the history
Fix bug where path to i18n strings is incorrect since switching from compiling to directly running typescript
  • Loading branch information
carolinaisslaying authored Feb 18, 2025
2 parents 2f288fa + c0ea313 commit 9f1bc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Function/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function parseDate(__, locale: string, rawDate: number): string {

const date = new Date(rawDate);
const dateFormat = require(
`../../../../node_modules/del-i18n/website/${locale}.json`
`../../../node_modules/del-i18n/website/${locale}.json`
);
if (dateFormat["common.dateFormat"].includes("{{amPM}}")) {
let amPM: string;
Expand Down

0 comments on commit 9f1bc32

Please sign in to comment.