Updated date format when rendering chats in the chatRoom.html