Skip to content

Commit

Permalink
fr locale set use24HourTimeFormat to true (#275)
Browse files Browse the repository at this point in the history
Fix #274
  • Loading branch information
nioc authored Jan 30, 2023
1 parent 53858f8 commit 4445c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/i18n/locales/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class fr implements Locale {
}

use24HourTimeFormatByDefault() {
return false;
return true;
}

everyMinute() {
Expand Down
2 changes: 1 addition & 1 deletion test/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("i18n", function () {
it("*/5 15 * * MON-FRI", function () {
assert.equal(
cronstrue.toString(this.test?.title as string, { locale: "fr" }),
"Toutes les 5 minutes, de 03:00 PM à 03:59 PM, de lundi à vendredi"
"Toutes les 5 minutes, de 15:00 à 15:59, de lundi à vendredi"
);
});
});
Expand Down

0 comments on commit 4445c60

Please sign in to comment.