MCPcopy Index your code
hub / github.com/formatjs/formatjs / getDateTimeFormat

Function getDateTimeFormat

packages/intl/tests/formatTime.test.ts:15–17  ·  view source on GitHub ↗
(
    ...args: ConstructorParameters<typeof Intl.DateTimeFormat>
  )

Source from the content-addressed store, hash-verified

13 let config: IntlConfig<any>
14
15 let getDateTimeFormat: Formatters['getDateTimeFormat'] = (
16 ...args: ConstructorParameters<typeof Intl.DateTimeFormat>
17 ) => new Intl.DateTimeFormat(...args)
18 beforeEach(() => {
19 config = {
20 locale: 'en',

Callers 2

getFormatterFunction · 0.85
defaultTimezoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected