Skip to content

Use hour cycle

Helpers for getting and setting selected hour cycle

Client original hour cycle

ts
const { clientOriginalHourCycle } = useHourCycle();

Current hour cycle

ts
const { hourCycle } = useHourCycle();

Set Hour Cycle

ts
const { setHourCycle } = useHourCycle();