MCPcopy Create free account
hub / github.com/bendrucker/postgres-interval / toISOStringShort

Method toISOStringShort

index.d.ts:63–63  ·  view source on GitHub ↗

* Returns an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) compliant string shortened to minimum length, for example `PT9M`. * * ```js * var parse = require('postgres-interval') * var interval = parse('01:02:03') * // => { hours: 1, minutes: 2, seconds: 3 }

()

Source from the content-addressed store, hash-verified

61 * ```
62 */
63 toISOStringShort(): string;
64 /**
65 * Returns a [`Temporal.Duration`](https://tc39.es/proposal-temporal/docs/duration.html) representing the interval.
66 *

Callers 1

test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected