mirror of
https://github.com/hanzonet/explore.git
synced 2026-11-10 08:44:55 +00:00
4 lines
97 B
TypeScript
4 lines
97 B
TypeScript
export default function formatDate(date: Date) {
|
|
return date.toISOString().substring(0, 10);
|
|
}
|