Putting in an invalid date in data.txt gives the LocalDate parsing in Java to fail, resulting in a fatal error. Such a bug needs to be catched if for instance a user edits data.txt and mistakes yyyy-mm-dd for yyyy-dd-mm, and hence the swap between month and day will cause a crash in the program.
Putting in an invalid date in data.txt gives the LocalDate parsing in Java to fail, resulting in a fatal error. Such a bug needs to be catched if for instance a user edits data.txt and mistakes yyyy-mm-dd for yyyy-dd-mm, and hence the swap between month and day will cause a crash in the program.![Screen Shot 2021-04-16 at 5.08.51 PM.png](https://raw.githubusercontent.com/nus-cs2113-AY2021S2/pe/main/files/5953b423-fe63-451b-a4a7-6f663b0181e8.png)
[original: nus-cs2113-AY2021S2/pe-interim#1385] [original labels: severity.High type.FunctionalityBug]