Skip to content

Commit

Permalink
12982: add hu locale config for flatpickr
Browse files Browse the repository at this point in the history
  • Loading branch information
chahmedejaz committed Nov 27, 2024
1 parent 1dec3de commit 60ace5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/webpacker/controllers/flatpickr_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { ru } from "flatpickr/dist/l10n/ru";
import { sv } from "flatpickr/dist/l10n/sv";
import { tr } from "flatpickr/dist/l10n/tr";
import { en } from "flatpickr/dist/l10n/default.js";
import { hu } from "flatpickr/dist/l10n/hu";
import ShortcutButtonsPlugin from "shortcut-buttons-flatpickr";
import labelPlugin from "flatpickr/dist/plugins/labelPlugin/labelPlugin";

Expand All @@ -36,6 +37,7 @@ export default class extends Flatpickr {
sv: sv,
tr: tr,
en: en,
hu: hu,
};

initialize() {
Expand Down

0 comments on commit 60ace5d

Please sign in to comment.