Open nus-pe-bot opened 5 years ago
This is in fact the correct waste lists. Take example the waste list for Aug 2019. Perhaps you may have intepreted it as the waste list for July 2019 due to the expiry dates of the food items, but the month of the waste list has no correlation with the date which the food item has expired. The Aug 2019 waste list simply displays all the food the user has decided to throw away in that month.
(In fact, our sample data is populated in a way such that the waste list for a month would contain expired items to reflect the notion that people commonly dispose of unfinished expired items, and in doing so generates a lot of food wastage. So in this case, it would reflect the idea that users tend to forget to finish expired food in July and threw them away in Aug, therefore showing up in the Aug 2019 waste list.)
--
Waste List show thw wrong month during when
glist list m/aug 2019
command is passed.Steps to reproduce
glist list m/aug 2019
.Expected List of food waste duiring August
Actual List of food waste during July
[original: nus-cs2103-AY1920S1/pe-interim#20]