ci: add Makefile and stricter eslint config
This commit is contained in:
+6
-6
@@ -1,9 +1,9 @@
|
||||
export function simpleDateFormat(date: Date): string {
|
||||
return (
|
||||
date.getFullYear() +
|
||||
'-' +
|
||||
(date.getMonth() + 1).toString().padStart(2, '0') +
|
||||
'-' +
|
||||
date.getDate().toString().padStart(2, '0')
|
||||
)
|
||||
date.getFullYear().toString() +
|
||||
"-" +
|
||||
(date.getMonth() + 1).toString().padStart(2, "0") +
|
||||
"-" +
|
||||
date.getDate().toString().padStart(2, "0")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user