Much better fix over previous commit.

This commit is contained in:
Ludovic Marcotte
2013-02-19 15:54:52 -05:00
parent 67c2d508ea
commit fa5e99d58d
2 changed files with 2 additions and 16 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ static NSDictionary *BSONTypes()
BSONTYPE(0x08, NSNumber),
BSONTYPE(0x0A, NSNull),
BSONTYPE(0x10, NSNumber),
BSONTYPE(0x11, NSCalendarDate),
BSONTYPE(0x12, NSNumber),
nil] retain];
}
@@ -547,7 +548,7 @@ static NSDictionary *BSONTypes()
@implementation NSCalendarDate (BSON)
- (uint8_t) BSONTypeID
{
return 0x02;
return 0x11;
}
- (NSData *) BSONEncode