mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
remove unused code
This commit is contained in:
@@ -192,10 +192,6 @@ export function getYearAndMonth(date) {
|
|||||||
const year = getYear(date);
|
const year = getYear(date);
|
||||||
let month = getMonth(date);
|
let month = getMonth(date);
|
||||||
|
|
||||||
if (month < 10) {
|
|
||||||
month = '0' + month;
|
|
||||||
}
|
|
||||||
|
|
||||||
return `${year}-${month}`;
|
return `${year}-${month}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user