mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-02 23:55:33 +00:00
Add current date in top bar
This commit is contained in:
1 parent
0241cacbf9
commit
516e5fd303
9 files changed
+87
-11
No files matched your search
@@ -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