Bug 29486 - New Zealand locales (en_NZ & mi_NZ) first day of week should be Monday
Summary: New Zealand locales (en_NZ & mi_NZ) first day of week should be Monday
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: 2.39
Assignee: Mike FABIAN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-14 01:10 UTC by Nick Tait
Modified: 2023-11-16 13:00 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2023-11-15 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Tait 2022-08-14 01:10:49 UTC
In New Zealand the week starts on Monday (not Sunday).

Please add the following line to LC_TIME section of both of the locales above?

first_weekday 2

This change should be made to these locales:

* en_NZ
* mi_NZ

Thanks,
Nick Tait.
Comment 1 Nick Tait 2022-08-14 01:14:09 UTC
Just in case evidence is needed, please refer to the following web site: http://chartsbin.com/view/41671

Thanks again,
Nick.
Comment 2 Nick Tait 2022-08-14 01:17:13 UTC
Sorry one more thing... According to the locale files, the maintainer of the file is Keld Simonsen. I tried emailing them about this and got a non-delivery receipt:

<Keld.Simonsen@dkuug.dk>: host smtp01.dkuug.dk[185.38.172.9] said: 550 5.1.1
    <Keld.Simonsen@dkuug.dk>: Recipient address rejected: User unknown in
    virtual alias table (in reply to RCPT TO command)

So that is why I'm posting this bug here.

Thanks,
Nick.
Comment 3 Mike FABIAN 2023-11-15 15:14:48 UTC
https://github.com/unicode-org/cldr/blob/main/common/supplemental/supplementalData.xml#L4819
agrees with that the first day of the week in NZ is Monday:

          <firstDay day="mon"  territories="
			001
			AD AI AL AM AN AR AT AU AX AZ
			BA BE BG BM BN BY
			CH CL CM CN CR CY CZ
			DE DK
			EC EE ES
			FI FJ FO FR
			GB GE GF GP GR
			HR HU
			IE IS IT
			KG KZ
			LB LI LK LT LU LV
			MC MD ME MK MN MQ MY
			NL NO NZ
			PL
			RE RO RS RU
			SE SI SK SM
			TJ TM TR
			UA UY UZ
			VA VN
			XK"
		  />
Comment 4 Mike FABIAN 2023-11-15 15:19:26 UTC
And yes, it is displayed incorrectly for en_NZ and mi_NZ but correctly for niu_NZ:

mfabian@hathi:~
$ LC_ALL=en_NZ.UTF-8 cal 
    November 2023   
Su Mo Tu We Th Fr Sa
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30      
                    
mfabian@hathi:~
$ LC_ALL=mi_NZ.UTF-8 cal 
  Whiringa-ā-rangi  
        2023        
Ta Ma Tū We Tā Pa Hā
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30      
                    
mfabian@hathi:~
$ LC_ALL=niu_NZ.UTF-8 cal 
     Novema 2023    
Go Ua Lo Tu Fa Fa Ta
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30         
                    
mfabian@hathi:~
$ rpm -q glibc
glibc-2.38-10.fc39.x86_64
mfabian@hathi:~
$
Comment 5 Sourceware Commits 2023-11-16 12:59:50 UTC
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3fddfe3c5d3c61f91401393814f7dc33be9c7dd3

commit 3fddfe3c5d3c61f91401393814f7dc33be9c7dd3
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Wed Nov 15 16:28:01 2023 +0100

    New Zealand locales (en_NZ & mi_NZ) first day of week should be Monday
    
    Resolves: BZ #29486
Comment 6 Mike FABIAN 2023-11-16 13:00:50 UTC
Will be in the next release of glibc.