Genesis
@beta

timeStorage

How a field stores time, from its database type (an unknown type with a time counts as an instant).

packages/ui/src/components/data/calendar/values.ts

Import
Subpath export: @marktiderman/genesis-ui/data
import { timeStorage } from "@marktiderman/genesis-ui/data";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

timeStorage

How a field stores time, from its database type (an unknown type with a time counts as an instant).

PropTypeDefaultDescription
controlstring—
dbTypestring—
widgetstring—

windowBounds

A window as filter values for a column: days for a date column, ISO instants of `zone`'s midnights for a timestamp, and wall-clock midnights (no zone) for a timestamp without one. `[from, to)`; `lead` widens the start by days.

No declared props.

TimeStorage

How a column stores time: `date` (a calendar day), `zoned` (an instant, `timestamptz`) or `wall` (a wall time with no zone, `timestamp without time zone`).

No declared props.