mrchensheng21 / pe

0 stars 0 forks source link

Wrong Month Displayed #2

Open mrchensheng21 opened 4 years ago

mrchensheng21 commented 4 years ago

Waste List show thw wrong month during when glist list m/aug 2019 command is passed.

Steps to reproduce

  1. Type glist list m/aug 2019.

Expected List of food waste duiring August

Actual List of food waste during July

foodwastebug.png

nus-pe-bot commented 4 years ago

Team's Response

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.)

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]