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.
2 parents f176414 + 2483a93 commit 497ca77Copy full SHA for 497ca77
app-config-extensions/src/index.ts
@@ -226,7 +226,7 @@ export function timestampDirective(dateSource: () => Date = () => new Date()): P
226
} else if (typeof value === 'object') {
227
const { locale, ...options } = value;
228
229
- formatted = date.toLocaleDateString(locale, options);
+ formatted = date.toLocaleDateString(locale, options as Intl.DateTimeFormatOptions);
230
} else {
231
throw new AppConfigError('$timestamp was provided an invalid option');
232
}
0 commit comments