Closed AyumuOgasawara closed 3 hours ago
現在ある出費月の範囲を["YYY-MM or M"]で取得するようにした。
出費の最初の日にち:2024-07-31T14:05:20.658Z -> 2024年7月 (日本時間) 出費の最後の日にち:2024-09-30T23:13:28.683Z -> 2024年10月 (日本時間)
2024-07-31T14:05:20.658Z
2024-09-30T23:13:28.683Z
const monthsInRange = getMonthsInRange(firstLastExpense); console.log(monthsInRange);
[ '2024-7', '2024-8', '2024-9', '2024-10' ]
Closes #56
概要
現在ある出費月の範囲を["YYY-MM or M"]で取得するようにした。
実装詳細
動作確認
出費の最初の日にち:
2024-07-31T14:05:20.658Z
-> 2024年7月 (日本時間) 出費の最後の日にち:2024-09-30T23:13:28.683Z
-> 2024年10月 (日本時間)[ '2024-7', '2024-8', '2024-9', '2024-10' ]
関連タスク
Closes #56