[PATCH] localedata: Add en_SE for ISO8601 dates
Florian Weimer
fw@deneb.enyo.de
Wed Aug 6 21:33:06 GMT 2025
* Mike FABIAN:
> From: Andreas Schneider <asn@cryptomilk.org>
>
> On a Linux system you have two sources for locales: glibc and ICU.
>
> ICU offeres a lot more languages than glibc. Especially when it comes to
> en_*.
>
> If you have an English system and want to use ISO8601 for date and time
> format there is only one locale which can be used for that: en_SE
>
> However ICU offers en_SE and glibc doesn't. If you set LC_TIME=en_SE a
> lot of application wont start, because the locale is not known to glibc.
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=33190
>
> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
>
> Reviewed-by: Mike FABIAN <mfabian@redhat.com>
So this is basically en_DK with a different date format? That's
rather arbitrary.
Why DK and SE and not other countries?
> +% date formats following ISO 8601-1988
> +d_t_fmt "%Y-%m-%dT%T %Z"
> +date_fmt "%Y-%m-%dT%T %Z"
Do people really want the T separator there, or do they prefer spaces?
And the %Z part is not in ISO 8601? Wouldn't it have to be
%Y-%m-%dT%T%:z instead?
More information about the Libc-alpha
mailing list