-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group expenses #48
Group expenses #48
Conversation
@acuteengle is attempting to deploy a commit to the Sebastien Castiel Team on Vercel. A member of the Team first needs to authorize it. |
Hi @acuteengle it looks great! There are some TypeScript errors in your code, could you please fix them? You can run A non-blocking suggestion (I can deal with it after merge): instead of displaying all the dates, maybe we could use groups such as “This week”, “Earlier this month”, “Last month”, “Last year”, “Older”, what do you think? |
d067d96
to
6b6d58e
Compare
91aa1c6
to
fa006e9
Compare
Ah thanks! Done! I also ran |
return Math.round(differenceInTime / (1000 * 3600 * 24)) // convert milliseconds to days | ||
} | ||
|
||
function getExpenseGroup(date: Dayjs, today: Dayjs) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scastiel Ready for another look! |
Closes #27