Template talk:Other date/2017

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

PL months

In Polish are incorrect names of months! Eg. "po 1 styczniu" -> It should be "po 1 stycznia"! "po 1 marcu" -> "po 1 marca" etc. Please repair it. --Wojsław Brożyna (talk) 12:44, 27 July 2016 (UTC)

Does it end with “o” in every case? E.g. before 1 January, after 1 January, between 1 January and 1 March? Also in other context, e.g. 2 January or simply January 2016? If so, I think it will be easy to correct it, if it’s more complex, it will be harder. --Tacsipacsi (talk) 10:44, 28 July 2016 (UTC)
Wojsław Brożyna I am not sure of the proper form. If we just have month than en:Locative case (Miejscownik) is correct, for example "po wrześniu 1939" (as in here). So {{complex date|adj=after|date=1939-09|lang=pl}} gives "po wrześniu 1939
date QS:P,+1939-09-00T00:00:00Z/7,P1319,+1939-09-00T00:00:00Z/10
". In case of full date {{complex date|adj=after|date=1939-09-01|lang=pl}} gives "po 1 wrześniu 1939
date QS:P,+1939-09-01T00:00:00Z/7,P1319,+1939-09-01T00:00:00Z/11
" or "po pierwszym wrześniu 1939" which sounds wrong. Correct form would be "po pierwszym września 1939" or "po 1 września 1939". So the declination case changes with the precision of the date? @Boston9 and Yarl: can you verify the proper grammar here before I change it. Grammar and orthography was always my weak spot. Are there other dates in Module:I18n/complex_date with similar issue? --Jarekt (talk) 19:17, 28 September 2017 (UTC)
"po pierwszym września 1939" is the correct form indeed. Yarl 💭  15:09, 4 October 2017 (UTC)

Maintenance category

Is it possible to add a maintenance category for "between" dates where the first values is bigger than the second? Or does that cost too much? --Arnd (talk) 17:15, 28 September 2017 (UTC)

Good idea. I will try to add it. --Jarekt (talk) 18:36, 28 September 2017 (UTC)
Arnd Actually once I think about it it is hard to order the dates especially if we mix precision and BC and AC dates. It can be done but it would not be easy. --Jarekt (talk) 19:25, 28 September 2017 (UTC)
Thanks Jarekt for you reply. Maybe for the start we could only compare them when both have the same format, i. e. YYYY or YYYY-MM or YYYY-MM-DD? --Arnd (talk) 06:48, 29 September 2017 (UTC)
Arnd I looked at this and it would require a lot of changes in a code. The issue is that at the moment the code does not have any understanding of the meaning of what is processed and is only concerned with taking a string and converting it to another translated string. To do it properly We would have to probably convert each date to a Julian day number using Module:Calendar and do tests on those. It is a little more than I want to undertake right now, I will try to do it after I am done with the next version of Module:Creator. --Jarekt (talk) 18:34, 4 October 2017 (UTC)