frontend converted to ts
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
function formatDate(date: string) {
|
||||
return new Intl.DateTimeFormat().format(new Date(date));
|
||||
}
|
||||
|
||||
export default formatDate;
|
||||
Reference in New Issue
Block a user