MCPcopy Create free account
hub / github.com/chokcoco/iCSS / formatDate

Function formatDate

website/app/page.tsx:115–121  ·  view source on GitHub ↗
(dateString: string)

Source from the content-addressed store, hash-verified

113 };
114
115 const formatDate = (dateString: string) => {
116 return new Date(dateString).toLocaleDateString('zh-CN', {
117 year: 'numeric',
118 month: 'long',
119 day: 'numeric'
120 });
121 };
122
123 if (loading && articles.length === 0) {
124 return (

Callers 1

HomePageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected