MCPcopy Create free account
hub / github.com/VibiumDev/vibium / ClockInstallOptions

Interface ClockInstallOptions

clients/javascript/src/clock.ts:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { BiDiClient } from './bidi';
2
3export interface ClockInstallOptions {
4 /** Initial time as epoch ms, ISO date string, or Date object. */
5 time?: number | string | Date;
6 /** IANA timezone ID to override (e.g. "America/New_York", "Europe/London"). */
7 timezone?: string;
8}
9
10/** Normalize a time value to epoch milliseconds. */
11function normalizeTime(time: number | string | Date): number {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected