MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / format

Method format

packages/deno/lib.deno.d.ts:21917–21917  ·  view source on GitHub ↗

* Format a date into a string according to the locale and formatting * options of this `Intl.DateTimeFormat` object. * * @example * ```ts * const formatter = new Intl.DateTimeFormat('en-US', { dateStyle: 'full' }); * const date = new Date(2023, 0, 1); * console.log

(date?: Formattable | number)

Source from the content-addressed store, hash-verified

21915 * ```
21916 */
21917 format(date?: Formattable | number): string;
21918
21919 /**
21920 * Allow locale-aware formatting of strings produced by

Callers 6

getCultureContextFunction · 0.95
formatConsoleArgsFunction · 0.80
formatConsoleArgsFunction · 0.80
clearGithubCachesFunction · 0.80
runFunction · 0.80
formatBytesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected