Browse Source

user status

marinofaggiana 3 years ago
parent
commit
e6f3af362e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      iOSClient/UserStatus/NCUserStatus.swift
  2. 1 1
      iOSClient/Utility/CCUtility.h

+ 2 - 0
iOSClient/UserStatus/NCUserStatus.swift

@@ -330,6 +330,7 @@ extension NCUserStatus: UITableViewDataSource {
         // Date
         if clearAt != nil {
             
+            return CCUtility.getTitleSectionDate(clearAt! as Date)
         }
         
         // Period
@@ -347,6 +348,7 @@ extension NCUserStatus: UITableViewDataSource {
         
         // End of
         if clearAt == nil && clearAtTime != nil && clearAtType == "end-of" {
+            
             return NSLocalizedString(clearAtTime!, comment: "")
         }
         

+ 1 - 1
iOSClient/Utility/CCUtility.h

@@ -184,7 +184,7 @@
 
 + (NSString *)getUserAgent;
 
-+ (NSString *)dateDiff:(NSDate *) convertedDate;
++ (NSString *)dateDiff:(NSDate *)convertedDate;
 + (NSString *)transformedSize:(int64_t)value;
 
 + (NSString *)removeForbiddenCharactersServer:(NSString *)fileName;