feat : add chessCom games import
This commit is contained in:
7
src/lib/helpers.ts
Normal file
7
src/lib/helpers.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const getPaddedMonth = (month: number) => {
|
||||
return month < 10 ? `0${month}` : month;
|
||||
};
|
||||
|
||||
export const capitalize = (s: string) => {
|
||||
return s.charAt(0).toUpperCase() + s.slice(1);
|
||||
};
|
||||
Reference in New Issue
Block a user