wmde/DataValuesJavascript — pull request #49 by thiemowmde (2014-10-13 14:17:35+00:00)
Title: Do not default to 1 for day/month

I finally found the reason why these strange dates are always showing up in bug reports. Both our parsers are totally fine with the day and month set to zero. This is very relevant when the precision is set to "year" or larger. Day, month and time are undefined then. Undefined day and month should be 0, not 1. This is confusing and just not necessary.

https://bugzilla.wikimedia.org/show_bug.cgi?id=71956

Bug: 71956