show datetime of message properly