Sha256: 2ed2a61233c9c9741e3fe6fddcd3f0dcb548b7b9539ba5d909eab3015316c908

Contents?: true

Size: 1.09 KB

Versions: 71

Compression:

Stored size: 1.09 KB

Contents

{
    "description": "DateTime",
    "bson_type": "0x09",
    "test_key": "a",
    "valid": [
        {
            "description": "epoch",
            "bson": "10000000096100000000000000000000",
            "extjson": "{\"a\" : {\"$date\" : \"1970-01-01T00:00:00.000Z\"}}",
            "canonical_extjson": "{\"a\" : {\"$date\" : {\"$numberLong\" : \"0\"}}}"
        },
        {
            "description": "positive ms",
            "bson": "10000000096100C4D8D6CC3B01000000",
            "extjson": "{\"a\" : {\"$date\" : \"2012-12-24T12:15:30.500Z\"}}",
            "canonical_extjson": "{\"a\" : {\"$date\" : {\"$numberLong\" : \"1356351330500\"}}}"
        },
        {
            "description": "negative",
            "bson": "10000000096100C43CE7B9BDFFFFFF00",
            "extjson": "{\"a\" : {\"$date\" : \"1960-12-24T12:15:30.500Z\"}}",
            "canonical_extjson": "{\"a\" : {\"$date\" : {\"$numberLong\" : \"-284643869500\"}}}"
        }
    ],
    "decodeErrors": [
        {
            "description": "datetime field truncated",
            "bson": "0C0000000961001234567800"
        }
    ]
}

Version data entries

71 entries across 70 versions & 2 rubygems

Version Path
bson-5.0.2 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-5.0.2-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-5.0.1 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-5.0.1-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-5.0.0-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-5.0.0 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.15.0-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.15.0 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.14.1-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.14.1 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.14.0-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.14.0 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.13.0-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.13.0 spec/spec_tests/data/corpus_legacy/failures/datetime.json
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/bson-4.12.0/spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.12.1-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.12.1 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.12.0-java spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.12.0 spec/spec_tests/data/corpus_legacy/failures/datetime.json
bson-4.11.1-java spec/spec_tests/data/corpus_legacy/failures/datetime.json