Skip to content

Interface: TempoOptions

Options for Tempo to parse and format date string.

Properties

format?

optional format: Format

The format that should be used to parse and format the date.

Default Value

ts
ISO 8601 format

See

Tempo Format Tokens

Defined in

src/transformer/as-date.ts:22


timezone?

optional timezone: string

Timezone for the decode's input and encode's output date string.

Default Value

ts
UTC

Defined in

src/transformer/as-date.ts:27

Released under the MIT License.