Start using Date_t. Can anyone think of a better name?
This commit is contained in:
@@ -268,7 +268,7 @@ namespace mongo {
|
||||
}
|
||||
|
||||
if ( value->IsDate() ){
|
||||
b.appendDate( sname.c_str() , (unsigned long long )(v8::Date::Cast( *value )->NumberValue()) );
|
||||
b.appendDate( sname.c_str() , Date_t(v8::Date::Cast( *value )->NumberValue()) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user