mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
Fix for bug #2969
Monotone-Parent: 34dbce3026b164b07c558711781fcfb5cde0fcff Monotone-Revision: 1d653d4f984b0eeefbcd5014a68753ef3d761b3c Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-11-04T19:55:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
#import <Foundation/NSKeyValueCoding.h>
|
||||
#import <Foundation/NSPathUtilities.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import <NGObjWeb/SoHTTPAuthenticator.h>
|
||||
#import <NGObjWeb/SoObjects.h>
|
||||
@@ -240,10 +241,19 @@ static BOOL uixDebugEnabled = NO;
|
||||
- (void) setSelectedDateQueryParameter: (NSCalendarDate *) _newDate
|
||||
inDictionary: (NSMutableDictionary *) _qp
|
||||
{
|
||||
NSString *day;
|
||||
|
||||
if (_newDate)
|
||||
[_qp setObject: [self dateStringForDate: _newDate] forKey: @"day"];
|
||||
{
|
||||
day = [self dateStringForDate: _newDate];
|
||||
[_qp setObject: day forKey: @"day"];
|
||||
[_qp setObject: [day substringToIndex: 6] forKey: @"month"];
|
||||
}
|
||||
else
|
||||
[_qp removeObjectForKey:@"day"];
|
||||
{
|
||||
[_qp removeObjectForKey:@"day"];
|
||||
[_qp removeObjectForKey:@"month"];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *) completeHrefForMethod: (NSString *) _method
|
||||
|
||||
Reference in New Issue
Block a user