Topic on User talk:Magnus Manske/Structured Discussions Archive 1

Jura1 (talkcontribs)

Hi Magnus,

Are these values for contact times of eclipse (P2569) currently blocked by QS or by the API:

Q4820591	P2569	+00000002016-08-18T09:25:00Z/13
Q4820591	P2569	+00000002016-08-18T09:42:00Z/13
Q4820591	P2569	+00000002016-08-18T09:59:00Z/13

I get ERROR (set_date) : Malformed input:

Mbch331 (talkcontribs)

API I think, max precision is day.

Jura1 (talkcontribs)

I keep reading that it should be possible by api, but I can't actually find a sample where it's done.

Lockal (talkcontribs)

Probably not possible with API, setting precision to 13 generates code: "modification-failed", info: "Out of range, must be no higher than 11"

Magnus Manske (talkcontribs)

Could be the leading zeros?

Jura1 (talkcontribs)

I tried a few variants, but for some I get


ERROR (set_date) : Invalid snak. ($timestamp must resemble ISO 8601, given +0000002016-08-18T09:25Z)

Lockal (talkcontribs)
Mbch331 (talkcontribs)
Jura1 (talkcontribs)

It could also mean that precision should be 11 if the input has precision 11.

As it's probably too early, I listed P2569 for deletion.

Reply to "QuickStatements T13"