[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#90575: marked as done (Request for fi localization of libc6)



Your message dated Sun, 19 Jan 2025 22:50:01 +0100
with message-id <Z41zidOLJPzBngcn@per.namespace.at>
and subject line Re: Bug#90575: Request for fi localization of libc6
has caused the Debian Bug report #90575,
regarding Request for fi localization of libc6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
90575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=90575
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.2.2-1
Severity: wishlist
Tags: patch

Hi,

Here's a proposal for changing the fi_FI locale date formats to
something which is recommended by the Finnish language office and
commonly used in Finland.

I have sent the patch 2001-03-09 upstream to bug-gnu-libc and keld ,
the maintainer of POSIX locales specificied in the documentation.

Current format:

$ date
to maalis  8 14:51:33 EET 2001
$ date +%x
08.03.2001
$ date +%X
14:49:52
$ date +%c
to  8 maaliskuu 2001 14:51:37


Proposed zero-padded format:

$ date
to 08.03.2001 14.49.52
$ date +%x
08.03.2001
$ date +%X
14.49.52
$ date +%c
torstai 8. maaliskuuta 2001 14.50.04

Rationale:

1) date(1) default format

"to maalis 8" is not correct Finnish usage.  Assuming a relatively
short format, "to 8.3.2001 14.54.31" is what would be expected.

2) strftime %x format

although zero-padding is not the common usage with dates, probably
it's best to use zero-padding to make listings etc. appear correctly.

3) strftime %X format

zero-padding is common for time string, separator is '.' instead of ':*.

4) strftime %c format

"to  8 maaliskuu 2001 14:51:37" is not grammatically correct;
the correct usage is "torstai 8. maaliskuuta 2001 14.50.04".
Zero-padding or space-padding is not necessary, as the
lenght of the strings varies in either case.

------------------------------
Proposed patch for %c, default date format and time format change for
localedata/locales/fi_FI:

*** fi_FI-debian-orig   Fri Feb 16 21:14:13 2001
--- fi_FI       Thu Mar  8 17:19:16 2001
***************
*** 2179,2192 ****
           "<U006C><U006F><U006B><U0061><U006B><U0075><U0075>";/
           "<U006D><U0061><U0072><U0072><U0061><U0073><U006B><U0075><U0075>";/
           "<U006A><U006F><U0075><U006C><U0075><U006B><U0075><U0075>"
! d_t_fmt  "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0042><U0020><U0025>\
<U0059><U0020><U0025><U0054>"
  d_fmt    "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
! t_fmt    "<U0025><U0054>"
  am_pm    "";""
  t_fmt_ampm  ""
! date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
! <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
! <U0025><U005A><U0020><U0025><U0059>"
  END LC_TIME

  LC_MESSAGES
--- 2179,2191 ----
           "<U006C><U006F><U006B><U0061><U006B><U0075><U0075>";/
           "<U006D><U0061><U0072><U0072><U0061><U0073><U006B><U0075><U0075>";/
           "<U006A><U006F><U0075><U006C><U0075><U006B><U0075><U0075>"
! d_t_fmt  "<U0025><U0041><U0020><U0025><U002D><U0064><U002E><U0020><U0025><U0042>\
<U0074><U0061><U0020><U0025><U0059><U0020><U0025><U0048><U002E><U0025><U004D><U002\
E><U0025><U0053><U0020>"
  d_fmt    "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
! t_fmt    "<U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053><U0020>"
  am_pm    "";""
  t_fmt_ampm  ""
! date_fmt       "<U0025><U0061><U0020><U0025><U0064><U002E><U0025><U006d><U002E><\
U0025><U0059>/
! <U0020><U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053><U0020>"
  END LC_TIME

  LC_MESSAGES


//Jyrki


--- End Message ---
--- Begin Message ---
Source: libc6
Source-Version: 2.36-1

On Wed, Mar 21, 2001 at 04:52:13PM +0200, Jyrki Kuoppala wrote:
> Here's a proposal for changing the fi_FI locale date formats to
[..]
> $ date
> to 08.03.2001 14.49.52
> $ date +%x
> 08.03.2001
> $ date +%X
> 14.49.52
> $ date +%c
> torstai 8. maaliskuuta 2001 14.50.04

A quick check indicates this is how it works in bookworm. Closing.

Chris

--- End Message ---

Reply to: