public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: Rade <rade@paxemu.com>
To: Keld.Simonsen@dkuug.dk, bug-glibc-locales@gnu.org
Subject: [PATCH] Fix for incorrect first_weekday in locale en_NZ
Date: Thu, 13 Feb 2020 12:59:00 -0000	[thread overview]
Message-ID: <9f386602-313f-81dc-3e77-8bee9f90a8e3@paxemu.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

Hi

The locale en_NZ has the first day of the week set to Sunday but it
should be Monday. Technically I think it's unset and defaults to Sunday.
For reference the correct "first day of week" can be found here:
https://www.unicode.org/cldr/charts/36/supplemental/territory_information.html
I've attached a one line fix that sets first_weekday to Monday.

Best regards
Rade

[-- Attachment #2: 0001-fixed-en_NZ-first_weekday-to-be-monday.patch --]
[-- Type: text/x-patch, Size: 590 bytes --]

From b9239e7cdde78a55871de09a66c754233c6be0da Mon Sep 17 00:00:00 2001
From: Rade <rade@paxemu.com>
Date: Thu, 13 Feb 2020 13:52:35 +0100
Subject: [PATCH] fixed en_NZ first_weekday to be monday

---
 localedata/locales/en_NZ | 1 +
 1 file changed, 1 insertion(+)

diff --git a/localedata/locales/en_NZ b/localedata/locales/en_NZ
index a0e980d95e..90a5899a4a 100644
--- a/localedata/locales/en_NZ
+++ b/localedata/locales/en_NZ
@@ -115,6 +115,7 @@ t_fmt       "%T"
 am_pm       "AM";"PM"
 t_fmt_ampm  "%I:%M:%S %p"
 week 7;19971130;1
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
-- 
2.24.1


                 reply	other threads:[~2020-02-13 12:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f386602-313f-81dc-3e77-8bee9f90a8e3@paxemu.com \
    --to=rade@paxemu.com \
    --cc=Keld.Simonsen@dkuug.dk \
    --cc=bug-glibc-locales@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).