Data talk:DateI18n.tab

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


Italian

[edit]

{{Edit request}} Hello, I want to report that in Italian is more correct to write "1º" for the first day of the month, so I request the addition of:

         [
             "YMD",
             "year month day",
             {
                 ...,
                 "it" = "{”default”:”j F Y”,”d01”:”j'º' F Y”}",
                 ...
             }
         ]

and:

         [
             "MD",
             "month day (default: 'j F')",
             {
                 ...,
                 "it" = "{”default”:”j F”,”d01”:”j'º' F”}",
                 ...
             }
         ]

Thank you very much! GiAnMMV 22:13, 10 March 2024 (UTC)[reply]

@GiAnMMV: I think this change was already ✓ Done through edit request elsewhere. Pleas check, if it is correct now. --Jarekt (talk) 23:02, 3 June 2024 (UTC)[reply]

Croatian

[edit]
Test:{{ISOdate|2024-11-30|lang=hr}} → 30. studenoga 2024. (should be 30. studenoga 2024.)
Test:{{ISOdate|2024-11|lang=hr}} → studeni 2024. (should be studeni 2024.)
Test:{{ISOdate|2024-11-30|lang=hr|case=gen}} → 30. studenoga 2024.

Can someone please update the Croatian date formats as follows:

  • "hr": "j. F Y." → "j. xg Y."
  • "hr": "F Y." → no change
  • "hr": "j. F" → "j. xg"

Explanation: 2024-11-30 needs to be "30. studenoga 2024." (month name in the genitive case: the 30th day of November of 2024.), whereas 2024-11 is "studeni 2024." (month name in the nominative case: November of 2024). Ping to @TadejM as he was the last editor; also @Jarekt. Many thanks! Ponor (talk) 18:09, 28 August 2024 (UTC)[reply]

Do we need to add the month names in the genitive case to Data:I18n/MonthCases.tab? That'd be: siječnja, veljače, ožujka, travnja, svibnja, lipnja, srpnja, kolovoza, rujna, listopada, studenoga, prosinca. Ponor (talk) 18:23, 28 August 2024 (UTC)[reply]
Ponor, {{#time:xg|2024-01|hr}} gives "siječnja" so we do not need to add them to Data:I18n/MonthCases.tab. That file is mostly for other cases used by {{Complex date}}. --Jarekt (talk) 19:48, 28 August 2024 (UTC)[reply]
Ponor, ✓ Done --Jarekt (talk) 19:52, 28 August 2024 (UTC)[reply]
Thanks, @Jarekt. I was hoping that'd fix the date in {{Information}} for https://commons.wikimedia.org/wiki/File:Stecak_Dobranje_01.jpg?uselang=hr, but it didn't (not even after action=purge). Any idea what's going on here? "17. kolovoz 2024." should be "17. kolovoza 2024."
A user also asked me why other dates are incorrect for uselang=hr on Page history, Watchlist etc. (all showing month names in the nominative case). Is that something from translatewiki.net, you know? Ponor (talk) 20:04, 28 August 2024 (UTC)[reply]
Ponor, I would give it a few days and then check the file again. For some reasons changes to Data:DateI18n.tab do not have immediate effects. Maybe some extra deep caching. As for bad date translation on wiki pages controlled by Wikimedia I am often frustrated by this. However phabricator:T223772 seem to be moving lately, so at some point Wikimedia software would be able to generate correct dates, than it would make sense to start asking for fixes to specific pages. --Jarekt (talk) 03:12, 29 August 2024 (UTC)[reply]
Thank you very much, @Jarekt, from me and Mr @MaGa. Now, something strange is happening: as of today, all the dates are wrong on hr: as well. Ponor (talk) 09:06, 29 August 2024 (UTC)[reply]
FYI: A week ago, someone did this at translatewiki. The nominative case messages had month names in the genitive case, and our whole system depended on the bug. I hope there's a quick solution (and I don't mean local translation to the wrong case again). Ponor (talk) 09:47, 29 August 2024 (UTC)[reply]
The above tests now work. Page history month names are still in the nominative case for uselang=hr (Croatian), but in the genitive case for uselang=uk (Ukrainian). Ponor (talk) 20:26, 29 August 2024 (UTC)[reply]