MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / formatCurrentDate

Function formatCurrentDate

packages/agent-runtime/src/templates/strings.ts:32–38  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

30} from '@codebuff/common/util/file'
31
32export function formatCurrentDate(date: Date): string {
33 return new Intl.DateTimeFormat('en-US', {
34 year: 'numeric',
35 month: 'long',
36 day: 'numeric',
37 }).format(date)
38}
39
40export async function formatPrompt(
41 params: {

Callers 2

strings.test.tsFile · 0.90
formatPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected