MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / fmt

Function fmt

packages/payments/src/subscription-state-meta.ts:28–29  ·  view source on GitHub ↗
(date: Date | null | undefined)

Source from the content-addressed store, hash-verified

26};
27
28const fmt = (date: Date | null | undefined) =>
29 date ? format(date, 'PPP') : null;
30
31/**
32 * Single source of truth for how every subscription state is presented across

Callers 1

getSubscriptionStateMetaFunction · 0.70

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected