From f925be61379b088fdaba6b28ff51394cf704c2f0 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 11 Jan 2019 16:20:35 -0500 Subject: [PATCH] (web) Show time for messages from past week Fixes #4599 --- UI/MailerUI/UIxMailListActions.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/MailerUI/UIxMailListActions.m b/UI/MailerUI/UIxMailListActions.m index 9b6d10149..00b4f3065 100644 --- a/UI/MailerUI/UIxMailListActions.m +++ b/UI/MailerUI/UIxMailListActions.m @@ -133,7 +133,9 @@ else if ([now dayOfCommonEra] - [messageDate dayOfCommonEra] < 7) { // Same week - return [[locale objectForKey: NSWeekDayNameArray] objectAtIndex: [messageDate dayOfWeek]]; + return [NSString stringWithFormat: @"%@ %@", + [[locale objectForKey: NSWeekDayNameArray] objectAtIndex: [messageDate dayOfWeek]], + [dateFormatter formattedTime: messageDate]]; } else {