Skip to content

Commit

Permalink
(web) Show time for messages from past week
Browse files Browse the repository at this point in the history
Fixes #4599
  • Loading branch information
cgx committed Jan 11, 2019
1 parent ca886aa commit f925be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UI/MailerUI/UIxMailListActions.m
Expand Up @@ -133,7 +133,9 @@ - (NSString *) messageDate
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
{
Expand Down

0 comments on commit f925be6

Please sign in to comment.