[Fix] 7498 board message sorting broken

[``* `#7498` Board message sorting is broken``](https://www.openproject.org/work_packages/7498)

In  contrast to the ticket, this PR fixes date parsing in JS and the link to the activity page. The sorting, so the content of the ticket, is, based on the sort criteria, correct.