Added support for German to momentjs calendar (#6580)

This commit is contained in:
Andre Basse 2023-05-05 09:06:12 +02:00 committed by GitHub
parent 561406a00f
commit 04ebad36f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@
import React from 'react';
import moment from 'moment';
import 'moment/locale/zh-cn';
import 'moment/locale/de';
import {Icon} from './icons';
import {PopOver} from 'amis-core';
import PopUp from './PopUp';

View File

@ -9,6 +9,7 @@ import cx from 'classnames';
import {filterDate, isPureVariable, resolveVariableAndFilter} from 'amis-core';
import moment from 'moment';
import 'moment/locale/zh-cn';
import 'moment/locale/de';
import {DatePicker} from 'amis-ui';
import {FormBaseControlSchema, SchemaObject} from '../../Schema';
import {createObject, anyChanged, isMobile, autobind} from 'amis-core';

View File

@ -8,6 +8,7 @@ import {
import cx from 'classnames';
import {filterDate, parseDuration} from 'amis-core';
import 'moment/locale/zh-cn';
import 'moment/locale/de';
import {DateRangePicker} from 'amis-ui';
import {isMobile, createObject, autobind} from 'amis-core';
import {ActionObject} from 'amis-core';