From 22d0b6a6ca300c2f914f5a1f2e99cd57a2bc3b17 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Mon, 17 Sep 2007 12:35:11 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1177 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SoObjects/SOGo/SOGoFolder.m | 1 + UI/WebServerResources/JavascriptAPIExtensions.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SoObjects/SOGo/SOGoFolder.m b/SoObjects/SOGo/SOGoFolder.m index 9341e848..db7256ef 100644 --- a/SoObjects/SOGo/SOGoFolder.m +++ b/SoObjects/SOGo/SOGoFolder.m @@ -175,6 +175,7 @@ static NSString *defaultUserID = @""; [ownerIdentity objectForKey: @"fullName"], [ownerIdentity objectForKey: @"email"]]; } + [displayName retain]; } - (void) _fetchDisplayName diff --git a/UI/WebServerResources/JavascriptAPIExtensions.js b/UI/WebServerResources/JavascriptAPIExtensions.js index a1cf862c..96943b88 100644 --- a/UI/WebServerResources/JavascriptAPIExtensions.js +++ b/UI/WebServerResources/JavascriptAPIExtensions.js @@ -125,11 +125,11 @@ Date.prototype.getHourString = function() { } Date.prototype.getDisplayHoursString = function() { - var hoursString = "" + this.getHours(); + var hoursString = "" + this.getUTCHours(); if (hoursString.length == 1) hoursString = '0' + hoursString; - var minutesString = "" + this.getMinutes(); + var minutesString = "" + this.getUTCMinutes(); if (minutesString.length == 1) minutesString = '0' + minutesString; -- 2.39.5