public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix for incorrect first_weekday in locale en_NZ
@ 2020-02-13 12:59 Rade
  0 siblings, 0 replies; only message in thread
From: Rade @ 2020-02-13 12:59 UTC (permalink / raw)
  To: Keld.Simonsen, bug-glibc-locales

[-- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-13 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 12:59 [PATCH] Fix for incorrect first_weekday in locale en_NZ Rade

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).