mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 04:48:52 +00:00
Much better fix over previous commit.
This commit is contained in:
@@ -24,10 +24,8 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#import <Foundation/NSData.h>
|
||||
#import <Foundation/NSCalendarDate.h>
|
||||
|
||||
#import "NSString+MAPIStore.h"
|
||||
#import "NSDate+MAPIStore.h"
|
||||
|
||||
#undef DEBUG
|
||||
#include <talloc.h>
|
||||
@@ -69,19 +67,6 @@
|
||||
return unicode;
|
||||
}
|
||||
|
||||
// FIXME: This should go away at some point, when BSONCoder
|
||||
// will correctly decode dates as NSCalendarDate objects
|
||||
// instead of strings (because we first encode them as strings...)
|
||||
- (struct FILETIME *) asFileTimeInMemCtx: (void *) memCtx
|
||||
{
|
||||
NSCalendarDate *d;
|
||||
|
||||
d = [NSCalendarDate dateWithString: self
|
||||
calendarFormat: @"%Y-%m-%d %H:%M:%S %Z"];
|
||||
|
||||
return [d asFileTimeInMemCtx: memCtx];
|
||||
}
|
||||
|
||||
- (char) _decodeHexByte: (char) byteChar
|
||||
{
|
||||
char newByte;
|
||||
|
||||
Reference in New Issue
Block a user