Skip to content

Conversation

@cfngc4594
Copy link

// Before (only en-US)
formatDate(new Date(), { year: 'numeric', month: 'long', day: 'numeric' });
// → "December 19, 2025"

// After – custom locale
formatDate(new Date(), { year: 'numeric', month: 'long', day: 'numeric' }, 'fr-FR');
// → "19 décembre 2025"

formatDate(new Date(), { day: '2-digit', month: '2-digit', year: 'numeric' }, 'de-DE');
// → "19.12.2025"

formatDate(new Date(), { year: 'numeric', month: 'long', day: 'numeric' }, 'zh-CN');
// → "2025年12月19日"

@vercel
Copy link

vercel bot commented Dec 19, 2025

@cfngc4594 is attempting to deploy a commit to the tablecn Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant