[Developers] invalid datetime value?
Tyler Pirtle
tyler at metaweb.com
Fri Aug 8 00:04:26 UTC 2008
Tim Kientzle wrote:
>>
>> ===
>> {
>> "/type/reflect/any_value" : [
>> {
>> "link" : {
>> "master_property" : null,
>> "operation" : null,
>> "timestamp" : null,
>> "timestamp>=" : "2008-08-07T16:08:16.000000075",
You're time is a little toooo precise. ;)
"timestamp>=" : "2008-08-07T16:08:16.0000000Z",
Will work as expected (6 decimal places).
(Also, you should enclose you're query in []'s, because it happens to
have more than one result).
T
>> "valid" : null
>> },
>> "sort" : "link.timestamp",
>> "value" : null
>> }
>> ],
>> "guid" : null,
>> "type" : [],
>> "type|=" : [
>> "/user/augusto/default_domain/type1"
>> ]
>> }
>> ====
>>
>> ====
>> {
>> "code" : "/api/status/ok",
>> "q1" : {
>> "code" : "/api/status/error",
>> "messages" : [
>> {
>> "code" : "/api/status/error/mql/type",
>> "info" : {
>> "expected_type" : "/type/datetime",
>> "value" : "2008-08-07T16:08:16.000000075",
>> "value_type" : "string"
>> },
>> "message" : "2008-08-07T16:08:16.000000075 is a JSON string,
>> but the
>> expected type is /type/datetime"
>> }
>> ]
>> },
>> "status" : "200 OK"
>> }
>> ====
>>
>>
>> _______________________________________________
>> Developers mailing list
>> Developers at freebase.com
>> http://lists.freebase.com/mailman/listinfo/developers
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list