MCPcopy
hub / github.com/CodebuffAI/codebuff / generateOperationIdTimestamp

Function generateOperationIdTimestamp

packages/billing/src/utils.ts:8–10  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

6 * @returns A 12-character string in YYYY-MM-DDTHH:mm format
7 */
8export function generateOperationIdTimestamp(date: Date): string {
9 return date.toISOString().slice(0, 16) // Take YYYY-MM-DDTHH:mm
10}

Callers 3

processAutoTopupPaymentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected