diff --git a/src/components/views/messages/DateSeparator.tsx b/src/components/views/messages/DateSeparator.tsx index 272afc1823..f36c02a16a 100644 --- a/src/components/views/messages/DateSeparator.tsx +++ b/src/components/views/messages/DateSeparator.tsx @@ -117,7 +117,7 @@ export default class DateSeparator extends React.Component { } else { return formatFullDateNoTime(date); } - } catch (_) { + } catch { return _t("common|message_timestamp_invalid"); } }