From 81196b793ef83e3794bacb1bd2045880841295da Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 17 Nov 2020 14:06:59 +1100 Subject: [PATCH] prevent 'now ago' from appearing with capitalize --- ts/components/conversation/Timestamp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/Timestamp.tsx b/ts/components/conversation/Timestamp.tsx index b3cb8acf0..d5b4a097c 100644 --- a/ts/components/conversation/Timestamp.tsx +++ b/ts/components/conversation/Timestamp.tsx @@ -68,7 +68,7 @@ export class Timestamp extends React.Component { } else { dateString = moment(timestamp).fromNow(); // Prevent times reading "NOW AGO" - if (dateString.startsWith('now')) { + if (dateString.startsWith('now') || dateString.startsWith('Now')) { dateString = 'now'; }