diff options
author | dwight <dwight@10gen.com> | 2011-06-06 19:53:49 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-06-06 19:53:49 -0400 |
commit | c38947fe02dcc5986d001d93ed250c02e6854afe (patch) | |
tree | 624c3f314b28cc4d6ef41791170e260a4fe341bf /bson | |
parent | 5f5b1e4de4f6a5205edd3f4e03a222753c1523a9 (diff) | |
download | mongo-c38947fe02dcc5986d001d93ed250c02e6854afe.tar.gz |
signed dates and the shell
Diffstat (limited to 'bson')
-rw-r--r-- | bson/bson-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bson/bson-inl.h b/bson/bson-inl.h index 9c8e6207d02..63edac2e166 100644 --- a/bson/bson-inl.h +++ b/bson/bson-inl.h @@ -677,7 +677,7 @@ namespace mongo { s << "EOO"; break; case mongo::Date: - s << "new Date(" << date() << ')'; + s << "new Date(" << (long long) date() << ')'; break; case RegEx: { s << "/" << regex() << '/'; |