Date format

Fragment of a discussion from Support
Jump to navigation Jump to search

Correct date format is {{#timel:j. n. Y.}} and not {{#timel:d. m. Y.}} see Pomoć:Vremenska funkcija (or via interwiki).

Bugoslav (razgovor) 23,59; 18. svibnja 2020. (SEV)21:59, 18 May 2020


MaGa (talk)15:20, 19 May 2020

We need to get this request as complete as possible, not just partially complete. Some of us at phab:T223988 requested the change of date format for Croatian, which revealed a hard-coded dot which produces formatting problems.

In the text Formatting and parsing dateTimes as strings, IBM Knowledge Center Home of IBM product documentation, last updated: 2020-04-03, accessed: 2020-05-19 — it is described what d. M. yyyy. and d. MMMM yyyy. mean. The two before mentioned forms are most appropriate in Croatian language translations. The form dd. MM. yyyy. is not a desirable solution.

Similarly, these are desirable solutions: %d. %m. %Y. or %d. %B %Y..

Even if there is some amount of mystery around what code the programmers would use, it is necessary to describe the problem in as many details as possible, in order for the better end result.

Bugoslav (razgovor) 23,29; 19. svibnja 2020. (SEV)21:29, 19 May 2020