Subject: Re: New: LC_TIME for pl_PL doesn't match standard usage
On Thu, Aug 31, 2006 at 01:47:16AM -0000, inkerman42 at gmail dot com wrote:
> Currently, glibc displays dates in the pl_PL locale as:
>
> pon sie 6 01:23:45 CEST 1984
>
> This format violates several conventions for date abbreviations in the Polish
> language. I include a patch against the current CVS localedata with the
> following changes:
>
> * non-standard weekday abbreviations are replaced with standard ones
> * non-standard month abbreviations are replaced with standard ones (based on
> Roman numerals)
> * middle-endian format (never used in Poland) is replaced with the little-endian
> one (by far the most popular)
> * standard padding is introduced, i.e. h:m:s are zero-padded, day of the month
> is not padded
> * fields are properly separated
>
> With the patch, dates are displayed as:
>
> Pn, 6 VIII 1984, 01:23:45 CEST
>
> which matches the most common usage.
well, you could use that for the long format, but it seems not
convenient for the short (abbreviated) format. Both day names and month
names are variable length.
My understanding is also that day and month names in Polish are spelled
with small initial letters.
> Please notice that the abbreviations are no longer fixed-width. Since this is
> also the case in several other locales, I suppose it is not a problem.
The recommendation is that the abbreviated format be fixed
format/lenght, as this is intended to be used in log messages.
Subject: Re: New: LC_TIME for pl_PL doesn't match standard usage
On Thu, Aug 31, 2006 at 01:47:16AM -0000, inkerman42 at gmail dot com wrote:
> Currently, glibc displays dates in the pl_PL locale as:
>
> pon sie 6 01:23:45 CEST 1984
>
> This format violates several conventions for date abbreviations in the Polish
> language. I include a patch against the current CVS localedata with the
> following changes:
>
> * non-standard weekday abbreviations are replaced with standard ones
> * non-standard month abbreviations are replaced with standard ones (based on
> Roman numerals)
> * middle-endian format (never used in Poland) is replaced with the little-endian
> one (by far the most popular)
> * standard padding is introduced, i.e. h:m:s are zero-padded, day of the month
> is not padded
> * fields are properly separated
>
> With the patch, dates are displayed as:
>
> Pn, 6 VIII 1984, 01:23:45 CEST
>
> which matches the most common usage.
well, you could use that for the long format, but it seems not
convenient for the short (abbreviated) format. Both day names and month
names are variable length.
My understanding is also that day and month names in Polish are spelled
with small initial letters.
> Please notice that the abbreviations are no longer fixed-width. Since this is
> also the case in several other locales, I suppose it is not a problem.
The recommendation is that the abbreviated format be fixed
format/lenght, as this is intended to be used in log messages.
best regards
Keld