Page MenuHomePhabricator

Time separator for Slovene should use period/dot instead of colon
Closed, DeclinedPublicFeature

Description

Author: dejan.papez

Description:
Please replace the HH:MM and MM:SS separator for Slovene localisation so that period will be used instead of column to separate a) hours from minutes and b) minutes from seconds, in accordance with the literary standard of Slovene (http://bos.zrc-sazu.si/c/sp/sp2001_pravila.pdf, item 255). Thanks a lot.


Version: 1.22.0
Severity: enhancement

Details

Reference
bz40942

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:12 AM
bzimport set Reference to bz40942.

mitenem wrote:

Request is valid for separator of hours from minutes, but I'm not sure about minutes from seconds. Our orthographic standard doesn't say anything about the last case.

(In reply to comment #1)

Request is valid for separator of hours from minutes, but I'm not sure about
minutes from seconds. Our orthographic standard doesn't say anything about the
last case.

Please find out. Checking CLDR might also be a solution. We'd like MediaWiki to stay in sync with what's already defined there.

(In reply to comment #2)

(In reply to comment #1)

Request is valid for separator of hours from minutes, but I'm not sure about
minutes from seconds. Our orthographic standard doesn't say anything about the
last case.

Please find out.

Dejan, Domen, do you have more information?
Maybe we could start with hours-minutes separator and check seconds later? On the other hand, it wouldn't make much sense for them to be different, so if one is ok the other should be as well.

As we would like to stay in sync with the definitions in the Unicode Common Locale Data Repository (http://cldr.unicode.org/ and used via https://www.mediawiki.org/wiki/Extension:CLDR), a check would be welcome. This means taking a look at the latest revision of http://unicode.org/cldr/trac/log/trunk/common/main/xy.xml (replace xy with your language code), choosing the appropriate calendar type by searching for "<calendar type", and taking a look at the entries in the <dateFormats>, <timeFormats> and <dateTimeFormats> sections.

dejan.papez wrote:

As I have explained Domen, according to Article 255 of the Rules of the Slovene Normative Guide (Slovenski pravopis), period is used as a sign between parts of numbers to separate units of different levels. It cites only a case for the separation of minutes from hours, but of course this also applies for the separation of seconds from minutes etc., because it is (I repeat) a separation of units of different levels. I have not received any reply from Domen, therefore I presume he agrees about this. If not, he should have already voiced his opinion.

Could you check the definition in CLDR?

mitenem wrote:

Dejan is right and I agree. I didn't pay enough attention to what our orthography says. Dots should be used to separate hours, minutes and seconds.

CLDR says mostly colon, dots are used only in few instances.

I personally think we should comply with Guide. Although its first version was released in 80's (and fundamentally hasn't changed since), we are slow in implementing its rules.

p.selitskas wrote:

(In reply to comment #6)

Could you check the definition in CLDR?

Date formats and any other part of CLDR definitions may be obsolete or just wrong (e.g. as a result of careless approval of contributions without appropriate research). Institute of the Slovene language (Inštitut za slovenski jezik) in this case is more authoritative, and CLDR should be fixed instead of MediaWiki following mistakes in CLDR.

If CLDR should be fixed, could you please contact them?

Two more sources:

Microsoft's "Slovenian Style Guide" lists
Standard time format:

H.mm
H:mm:ss

IBM lists in http://pic.dhe.ibm.com/infocenter/forms/v3r5m1/index.jsp?topic=%2Fcom.ibm.form.designer.locales.doc%2Fi_xfdl_r_formats_sl_SI.html :

H.mm
H:mm
H:mm:ss

(In reply to comment #9)

If CLDR should be fixed, could you please contact them?

Data collection for CLDR 24 is open in these very days. http://st.unicode.org/cldr-apps/survey
I tried to enter the new format in http://st.unicode.org/cldr-apps/v#/sl/Gregorian/235af2cdaa201be0 but I can edit only Italian, you need to create a guest account (should be quicker?) or Amir/Santhosh have to create you a voting account.

aravikn wrote:

I would like to work on this bug, would someone assign this to me?

Change 109658 had a related patch set uploaded by Arav93:
Altered the time separator for Slovene from colon to period

https://gerrit.wikimedia.org/r/109658

According to http://unicode.org/cldr/trac/browser/trunk/common/main/sl.xml?rev=9695 these are the current time formattings for the Slovene:

1561 <timeFormatLength type="medium">
1562 <timeFormat>
1563 <pattern>HH:mm:ss</pattern>
1564 </timeFormat>
1565 </timeFormatLength>
1566 <timeFormatLength type="short">
1567 <timeFormat>
1568 <pattern>HH:mm</pattern>
1569 </timeFormat>
1570 </timeFormatLength>

This is exactly what MediaWiki currently implements for Slovene:

languages/messages/MessagesSl.php:

176 'dmy short time' => 'H:i',
180 'dmy full time' => 'H:i',
182 'dmy full both' => 'H:i, j. F Y',

I'm closing this as WONTFIX, because the request deviates from the well established standards that we try to implement in MediaWiki. In this case, CLDR applies.

If you think the CLDR locale data are incorrect, please file a change request as described at http://cldr.unicode.org/index/bug-reports. Once the change has been accepted in CLDR, it could be made in MediaWiki, too.

Change 109658 abandoned by Siebrand:
Altered the time separator for Slovene from colon to period

Reason:
Abandoning this per my comment.

https://gerrit.wikimedia.org/r/109658

dejan.papez wrote:

Hi, I've reopened this. Your comment is from February 2014, whereas the CLDR changed the format in March 2014.

(In reply to Dejan Papež from comment #15)

Hi, I've reopened this. Your comment is from February 2014, whereas the CLDR
changed the format in March 2014.

Please provide a link to the change.

Thanks!

Patch in Gerrit should be restored (and would welcome a better commit message without typos).

Aklapper changed the task status from Open to Stalled.Oct 18 2016, 1:36 PM
Aklapper lowered the priority of this task from Medium to Lowest.
Aklapper added a subscriber: bzimport.

http://unicode.org/cldr/trac/browser/trunk/common/main/sl.xml?rev=9819 / http://unicode.org/cldr/trac/ticket/6735
got reverted to colon in
http://unicode.org/cldr/trac/browser/trunk/common/main/sl.xml?rev=11146 / http://unicode.org/cldr/trac/ticket/8121
(see discussion in that last link)

Removing good first task as this is controversial. Changing priority lo lowest and setting status to stalled as fixing the request in T42942 would require (again) a change in CLDR first which is outside of control of Wikimedia.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM
Aklapper removed a subscriber: bzimport.