Fix date formatting if not today nor yesterday

Merged Christophe Deschamps requested to merge fix/LINQT-1337 into master

Merge request reports