[Developers] invalid datetime value?
Tyler Pirtle
tyler at metaweb.com
Fri Aug 8 00:07:25 UTC 2008
And yea,
Augusto Callejas wrote:
> hi-
>
> i tried this query but it complained about my datetime value.
> according to documentation:
>
> ----
> http://www.freebase.com/view/guid/9202a8c04000641f800000000544e143#id261008
> 6
>
> Seconds must be specified with two digits, but may also include a decimal
> point and a fractional second. Metaweb allows up to 9 digits after the
> decimal point.
> ----
That's incorrect, we'll take care of it. Thanks for finding that.
T
>
> any ideas?
>
> thanks,
> augusto.
>
> ===
> {
> "/type/reflect/any_value" : [
> {
> "link" : {
> "master_property" : null,
> "operation" : null,
> "timestamp" : null,
> "timestamp>=" : "2008-08-07T16:08:16.000000075",
> "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
More information about the Developers
mailing list