MCPcopy Create free account
hub / github.com/Open-Dev-Society/OpenStock / getTodayString

Function getTodayString

lib/utils.ts:80–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79// Get today's date string in YYYY-MM-DD format
80export const getTodayString = () => new Date().toISOString().split('T')[0];
81
82export const formatArticle = (
83 article: RawNewsArticle,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected