mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 18:05:36 +00:00
Add current date in top bar
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#import <NGExtensions/NSURL+misc.h>
|
||||
|
||||
#import <SOGo/NSCalendarDate+SOGo.h>
|
||||
#import <SOGo/NSDictionary+Utilities.h>
|
||||
#import <SOGo/NSObject+Utilities.h>
|
||||
#import <SOGo/NSString+Utilities.h>
|
||||
#import <SOGo/SOGoBuild.h>
|
||||
@@ -440,6 +441,11 @@ static SoProduct *commonProduct = nil;
|
||||
return _selectedDate;
|
||||
}
|
||||
|
||||
- (NSString *) currentDayDescription
|
||||
{
|
||||
return [[[context activeUser] currentDay] jsonRepresentation];
|
||||
}
|
||||
|
||||
- (NSString *) dateStringForDate: (NSCalendarDate *) _date
|
||||
{
|
||||
[_date setTimeZone: [userDefaults timeZone]];
|
||||
|
||||
Reference in New Issue
Block a user