This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH] Multiple locales: Use the correct date and time formats (bug 10496, 23724).
- From: Rafal Luzynski <digitalfreak at lingonborough dot com>
- To: TAMUKI Shoichi <tamuki at linet dot gr dot jp>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 5 Dec 2018 00:48:23 +0100 (CET)
- Subject: Re: [RFC][PATCH] Multiple locales: Use the correct date and time formats (bug 10496, 23724).
- References: <1232347543.335709.1541455145790@poczta.nazwa.pl> <201811081205.AA04094@tamuki.linet.gr.jp> <240928059.373269.1543357574057@poczta.nazwa.pl>
27.11.2018 23:26 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
> [...]
> Therefore I'm asking community here. Please provide your feedback:
> should the date and time formats provided by glibc locale data keep the
> constant width of the output (because it makes easier to display lists of
> dates and times in vertical columns, like in log files) or should it be
> allowed to provide variable width formats as well (because it follows
> the local conventions of displaying single dates, standalone, like in
> the user interface)? Or maybe we should not worry about log files because
> they should not be localized and use only the default C locale for date
> and
> time format? Mike, Carlos, others?
PING
Any feedback about it?
If there is no further feedback then I'll assume consensus and I'll push
the patches [1] in less than one week. Thank you Tamuki Shoichi for your
feedback. [2] I understand that variable width dates may look bad in tabular
output like a log listing but also I assume that enforcing constant width
in date and time formats when they are displayed standalone (that means:
only one date or time) may make them unnatural. As we can't satisfy
both requirements then I'd rather make the standalone formats look better.
Regards,
Rafal
Links:
[1] https://sourceware.org/ml/libc-alpha/2018-11/msg00164.html
[2] https://sourceware.org/ml/libc-alpha/2018-11/msg00175.html
[3] https://sourceware.org/ml/libc-alpha/2018-11/msg00041.html
[4] https://sourceware.org/ml/libc-alpha/2018-11/msg00728.html