Start using Date_t. Can anyone think of a better name?
This commit is contained in:
@@ -537,7 +537,7 @@ namespace mongo {
|
||||
return OBJECT_TO_JSVAL( JS_GetFunctionObject( func ) );
|
||||
}
|
||||
case Date:
|
||||
return OBJECT_TO_JSVAL( js_NewDateObjectMsec( _context , (jsdouble) e.date() ) );
|
||||
return OBJECT_TO_JSVAL( js_NewDateObjectMsec( _context , (jsdouble) e.date().millis ) );
|
||||
|
||||
case MinKey:
|
||||
return OBJECT_TO_JSVAL( JS_NewObject( _context , &minkey_class , 0 , 0 ) );
|
||||
|
||||
Reference in New Issue
Block a user