FormatUnixOptions
The FormatUnixOptions type.
import type { FormatUnixOptions } from "@northguild/gmt/unix/format";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
epochUnit? |
"seconds" | "milliseconds" |
— |
timeZone? |
string |
— |
includeTimeZoneName? |
boolean |
— |
Definition
Section titled “Definition”interface FormatUnixOptions extends Intl.DateTimeFormatOptions { epochUnit?: "milliseconds" | "seconds"; timeZone?: string; // When true, format via ZonedDateTime so the localized timezone name is // included for full/long styles. Defaults to false (matches the original // behavior of formatting a wall-clock PlainDateTime). includeTimeZoneName?: boolean;}