public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] locale: More strictly implement ISO 8601 for Esperanto locale
@ 2024-10-30 12:26 Carmen Bianca BAKKER
  2024-11-14 16:02 ` Mike FABIAN
  0 siblings, 1 reply; 2+ messages in thread
From: Carmen Bianca BAKKER @ 2024-10-30 12:26 UTC (permalink / raw)
  To: libc-alpha; +Cc: Carmen Bianca BAKKER

Esperanto, as an international language and a bit of a non-locale,
usually defaults to international consensus. In this commit, I make the
Esperanto locale more in line with ISO 8601 by setting the first day as
Monday, and the first week as containing January 4.

Bug 32323

Signed-off-by: Carmen Bianca BAKKER <carmen@carmenbianca.eu>
---
 localedata/locales/eo | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/localedata/locales/eo b/localedata/locales/eo
index 6eb26f374a..49951c35da 100644
--- a/localedata/locales/eo
+++ b/localedata/locales/eo
@@ -175,7 +175,8 @@ d_t_fmt  "%a %d %b %Y %T"
 date_fmt "%a %d %b %Y %T %z"
 d_fmt   "%Y-%m-%d"
 t_fmt   "%T"
-week 7;19971130;1
+week 7;19971130;4
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
-- 
2.47.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] locale: More strictly implement ISO 8601 for Esperanto locale
  2024-10-30 12:26 [PATCH] locale: More strictly implement ISO 8601 for Esperanto locale Carmen Bianca BAKKER
@ 2024-11-14 16:02 ` Mike FABIAN
  0 siblings, 0 replies; 2+ messages in thread
From: Mike FABIAN @ 2024-11-14 16:02 UTC (permalink / raw)
  To: Carmen Bianca BAKKER; +Cc: libc-alpha

Carmen Bianca BAKKER <carmen@carmenbianca.eu> さんはかきました:

> Esperanto, as an international language and a bit of a non-locale,
> usually defaults to international consensus. In this commit, I make the
> Esperanto locale more in line with ISO 8601 by setting the first day as
> Monday, and the first week as containing January 4.
>
> Bug 32323
>
> Signed-off-by: Carmen Bianca BAKKER <carmen@carmenbianca.eu>
> ---
>  localedata/locales/eo | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/localedata/locales/eo b/localedata/locales/eo
> index 6eb26f374a..49951c35da 100644
> --- a/localedata/locales/eo
> +++ b/localedata/locales/eo
> @@ -175,7 +175,8 @@ d_t_fmt  "%a %d %b %Y %T"
>  date_fmt "%a %d %b %Y %T %z"
>  d_fmt   "%Y-%m-%d"
>  t_fmt   "%T"
> -week 7;19971130;1
> +week 7;19971130;4
> +first_weekday 2
>  END LC_TIME
>  
>  LC_MESSAGES

Looks good to me.

-- 
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-14 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-30 12:26 [PATCH] locale: More strictly implement ISO 8601 for Esperanto locale Carmen Bianca BAKKER
2024-11-14 16:02 ` Mike FABIAN

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