Index: nselib/mongodb.lua =================================================================== --- nselib/mongodb.lua (revision 26888) +++ nselib/mongodb.lua (working copy) @@ -172,9 +171,10 @@ return obj_size+1, object --6 = _get_null --7 = _get_oid - elseif 8 ==code then -- Boolean + elseif 8 == code then -- Boolean return 2, data:byte(1) == 1 - --9 = _get_date + elseif 9 == code then -- int64, UTC datetime + return bin.unpack("