fix typo in css class name
format the time in the chat