MCPcopy
hub / github.com/anomalyco/models.dev / getTodayDate

Function getTodayDate

packages/core/script/generate-digitalocean.ts:305–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305function getTodayDate(): string {
306 return new Date().toISOString().slice(0, 10);
307}
308
309function formatNumber(n: number): string {
310 return n >= 1000 ? n.toString().replace(/\B(?=(\d{3})+(?!\d))/g, "_") : n.toString();

Callers 1

mergeModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected