Package: effect
Module: DateTime
Format a DateTime as a string using the DateTimeFormat API.
It will use the system’s local time zone & locale.
Signature
declare const formatLocal: { (options?: (Intl.DateTimeFormatOptions & { readonly locale?: Intl.LocalesArgument; }) | undefined): (self: DateTime) => string; (self: DateTime, options?: (Intl.DateTimeFormatOptions & { readonly locale?: Intl.LocalesArgument; }) | undefined): string; }
Since v3.6.0