Skip to content

Commit

Permalink
Path issue for locale, resolves #328
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying committed Feb 18, 2025
1 parent 8c2485d commit c0ea313
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 c0ea313

Please sign in to comment.