We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd09da8 commit 0f1dfd8Copy full SHA for 0f1dfd8
src/setup-utils/SwiftDocCRenderi18n.js
@@ -12,9 +12,10 @@ import VueI18n from 'vue-i18n';
12
import * as lang from 'theme/lang/index.js';
13
14
export default function createi18nInstance(config = lang) {
15
- const { defaultLocale, messages } = config;
+ const { defaultLocale, messages, dateTimeFormats = {} } = config;
16
17
const i18n = new VueI18n({
18
+ dateTimeFormats,
19
locale: defaultLocale,
20
fallbackLocale: defaultLocale,
21
messages,
0 commit comments