The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1790 
====================================================================== 
Reported By:                steffen
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1790
Category:                   Base Definitions and Headers
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       steffen 
Organization:                
User Reference:              
Section:                    langinfo.h 
Page Number:                276 
Line Number:                9587 pp, 9611 pp 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-12-01 21:00 UTC
Last Modified:              2023-12-01 21:00 UTC
====================================================================== 
Summary:                    More info on *ALT* constants
Description: 
The *ALT* series is documented as

  alternative appropriate
and
  alternative name

which is completely non-descriptive.

It seems the intent is that ALTMON_* is

  Long month names, in the grammatical form used when the month is named by
itself.

Ditto abbreviated.

Ie in the wild (FreeBSD, Linux) and on the Unicode CLDR, but let me just
quote a commit message of [email protected] i have seen fly by today, a
bit abbreviated:

    The CLDR specification [1] defines three possible month formats:

    - Abbreviation (e.g Jan, Ιαν)
    - Full (e.g January, Ιανουαρίου)
    - Standalone (e.g January, Ιανουάριος)

    Many languages use different case endings depending on whether the
month
    is referenced as a standalone word (nominative case), or in date
context
    (genitive, partitive, etc.). sort(1)'s -M option currently sorts
months
    by testing input against only the abbrevation format, which is
    essentially a substring of the full format. While this works fine for
    languages like English, where there are no cases, for languages where
    there is a different case ending between the abbreviation/full and
    standalone formats, it is not sufficient.

    For example, in Greek, "May" can take the following forms:

    Abbreviation: Μαΐ (genitive case)
    Full: Μαΐου (genitive case)
    Standalone: Μάιος (nominative case)

    If we use the standalone format in Greek, sort(1) will not able to
match
    "Μαΐ" to "Μάιος" and the sort will fail.

    This change makes sort(1) test against all three formats. It also
works
    when the input contains mixed formats.

    [1] https://cldr.unicode.org/translation/date-time/date-time-patterns
Desired Action: 
If so intended, please adjust the descriptions of the *ALT* series to match
CLDR and be more self-descriptive as their are today.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-12-01 21:00 steffen        New Issue                                    
2023-12-01 21:00 steffen        Name                      => steffen         
2023-12-01 21:00 steffen        Section                   => langinfo.h      
2023-12-01 21:00 steffen        Page Number               => 276             
2023-12-01 21:00 steffen        Line Number               => 9587 pp, 9611 pp
======================================================================


  • [1003.1(20... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to