In the my application template: Task completed: {{moment-format task.date_closed 'DD.MM.YYYY, H:mm'}}.
The browser displays the correct date when task.date_closed is Date, but if task.date_closed is null the browser displays Task completed: Invalid date. Of course, I can put a check in the template, but it is very inconvenient. I think, it is right to not display any messages if set to null.
In the my application template:
Task completed: {{moment-format task.date_closed 'DD.MM.YYYY, H:mm'}}
. The browser displays the correct date whentask.date_closed
isDate
, but iftask.date_closed
isnull
the browser displaysTask completed: Invalid date
. Of course, I can put a check in the template, but it is very inconvenient. I think, it is right to not display any messages if set to null.