locale: More strictly implement ISO 8601 for Esperanto locale

Message ID 20241030122648.48794-1-carmen@carmenbianca.eu (mailing list archive)
State Committed
Commit c5a3d1bc8411347c9d5bfc02bca6ae6ec3a39ce5
Delegated to: Mike Fabian
Headers
Series locale: More strictly implement ISO 8601 for Esperanto locale |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed

Commit Message

Carmen Bianca BAKKER Oct. 30, 2024, 12:26 p.m. UTC
  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(-)
  

Comments

Mike FABIAN Nov. 14, 2024, 4:02 p.m. UTC | #1
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.
  

Patch

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