1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-10 16:05:35 +02:00

fix: Add date-fns locale, fix linting

This commit is contained in:
Maksim Eltyshev 2024-03-21 12:33:20 +01:00
parent 32b3f40187
commit afac504896
2 changed files with 27 additions and 1 deletions

View file

@ -20,7 +20,29 @@ import ua from './ua';
import uz from './uz';
import zh from './zh';
const locales = [cs, da, de, en, es, fr, id, it, ja, ko, nl, pl, pt, ro, ru, sk, sv, tr, ua, uz, zh];
const locales = [
cs,
da,
de,
en,
es,
fr,
id,
it,
ja,
ko,
nl,
pl,
pt,
ro,
ru,
sk,
sv,
tr,
ua,
uz,
zh,
];
export default locales;

View file

@ -1,4 +1,8 @@
import dateFns from 'date-fns/locale/nl';
export default {
dateFns,
format: {
date: 'd-M-yyyy',
time: 'p',