Start using Date_t. Can anyone think of a better name?

This commit is contained in:
Mathias Stearn
2009-12-03 17:25:22 -05:00
parent 5660a25e9b
commit dcf3a10eea
20 changed files with 59 additions and 32 deletions

View File

@@ -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;
}