parent
4069158178
commit
6737aa3d0e
1
NEWS
1
NEWS
|
@ -4,6 +4,7 @@
|
|||
Enhancements
|
||||
- [web] show source addressbook of matching contacts in appointment editor (#4579)
|
||||
- [web] improve display of keyboard shortcuts
|
||||
- [web] show time for messages of yesterday (#4599)
|
||||
|
||||
Bug fixes
|
||||
- [sogo-tool] fixed "manage-acl unsubscribe" command (#4591)
|
||||
|
|
|
@ -126,14 +126,13 @@
|
|||
else if ([now dayOfCommonEra] - [messageDate dayOfCommonEra] == 1)
|
||||
{
|
||||
// Yesterday
|
||||
return [self labelForKey: @"Yesterday" inContext: context];
|
||||
return [NSString stringWithFormat: @"%@ %@",
|
||||
[self labelForKey: @"Yesterday" inContext: context],
|
||||
[dateFormatter formattedTime: messageDate]];
|
||||
}
|
||||
else if ([now dayOfCommonEra] - [messageDate dayOfCommonEra] < 7)
|
||||
{
|
||||
// Same week
|
||||
WOResourceManager *resMgr = [[WOApplication application] resourceManager];
|
||||
NSString *language = [[[context activeUser] userDefaults] language];
|
||||
NSDictionary *locale = [resMgr localeForLanguageNamed: language];
|
||||
return [[locale objectForKey: NSWeekDayNameArray] objectAtIndex: [messageDate dayOfWeek]];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue