From 0456931bec626587fc770483ae2116b1d84ac644 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 6 Dec 2007 22:47:31 +0000 Subject: [PATCH] Monotone-Parent: bfb8eb0077f9d2d8ffdfe7ec1e44d38118e61600 Monotone-Revision: e08089f9a1045c8de9972e8a201de91f52fd18c7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-06T22:47:31 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/SOGoObject.m | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index bac7ff473..4ac97057f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-12-06 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoObject.m ([SOGoObject -davLastModified]): + override SoObject's implementation. Otherwise a localized date is returned. + * UI/Common/UIxPageFrame.m ([UIxPageFrame -isCalendar]) ([UIxPageFrame -isContacts], [UIxPageFrame -isMail]): getters to determine which module is the current one. diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index a9a490039..8bb510661 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -58,6 +58,7 @@ #import "SOGoDAVRendererTypes.h" #import "NSArray+Utilities.h" +#import "NSCalendarDate+SOGo.h" #import "NSDictionary+Utilities.h" #import "NSString+Utilities.h" @@ -629,6 +630,11 @@ static BOOL kontactGroupDAV = YES; return @"text/plain"; } +- (NSString *) davLastModified +{ + return [[NSCalendarDate date] rfc822DateString]; +} + - (WOResponse *) _webDAVResponse: (WOContext *) localContext { WOResponse *response;