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:
parent
32b3f40187
commit
afac504896
2 changed files with 27 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
import dateFns from 'date-fns/locale/nl';
|
||||
|
||||
export default {
|
||||
dateFns,
|
||||
|
||||
format: {
|
||||
date: 'd-M-yyyy',
|
||||
time: 'p',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue