Open nus-pe-bot opened 3 years ago
since the keyword for date "date/" is not detected, the application will consider the whole part "19 date 15-03-2021" as weight input, hence the application will not recognize the input as a valid weight. The command line application will not be as smart as GUI application and can always recognize the correct divider position for invalid input.
--
When I input add t/D f/protein w/19 date 16-03-2021, this cannot be recorded successfully should because I forgot the "/ " after I type "date", the error message could be improved.
[original: nus-cs2113-AY2021S2/pe-interim#839] [original labels: severity.Low type.FunctionalityBug]