usetania / tania-core

Tania is a farm management software for the hobbyist and smallholder farmer.

Home Page:https://usetania.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confusing error message for selected date before current

Citrullin opened this issue · comments

Steps to reproduce:

  1. Create a task with some title.
  2. Select a date which is before the current one.
  3. Add description
  4. Click on save

Actual behavior:
Error message in frontend: "Error in task submission". Error in terminal: "Task due date cannot be earlier than the current date."

Expected behavior:
Error message in frontend: "Task due date cannot be earlier than the current date.". Error in terminal: "Task due date cannot be earlier than the current date."

Tania version: 1.7.1

Thanks for noticing this one @Citrullin. I'll release a hotfix for this one.

@bepitulaz I added a comment to your commit. 966c9e6