There also seems to be an issue where a year could be recorded as either time="+0000000YYYY-00-00T00:00:00Z" or time="+0000000YYYY-01-01T00:00:00Z" (with precision=9). At least I spotted that my earlier bot runs was doing this.

These display the same but if you compare the claims they show up as different. I also guess only the latter is correct. Is there a way of checking how many of the first there is and possible convert these to the latter?

André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa@wikimedia.se | +46 (0)733-964574

Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se

On 2 July 2015 at 20:48, Pierpaolo Bernardi <olopierpa@gmail.com> wrote:
On Thu, Jul 2, 2015 at 4:16 PM, Neil Harris <neil@tonal.clara.co.uk> wrote:
> On 01/07/15 15:00, Pierpaolo Bernardi wrote:
>>
> Just for future reference, if anyone's interested, THE book on this topic is
> "Calendrical Calculations".
>
> Alas, their code is closed-source, but the book is still the best reference
> I know of.

True. HOWEVER, the authors of the book are the same people who wrote
the Emacs calendar, which is substantially the same code as the one in
the book, and the code in Emacs is GPL, of course.  One can look at
the book for explanations, and at Emacs calendar for code, if one
needs free code.

Cheers
P.

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata