Bug 22657 - hu_HU: Avoid double space in date
Summary: hu_HU: Avoid double space in date
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 minor
Target Milestone: 2.27
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-01 20:40 UTC by Egmont Koblinger
Modified: 2018-03-31 12:43 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Avoid double space (226 bytes, patch)
2018-01-01 20:40 UTC, Egmont Koblinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Egmont Koblinger 2018-01-01 20:40:11 UTC
Created attachment 10708 [details]
Avoid double space

The current date format prefixes one-digit days with a space, resulting in ugly two spaces:

$ LC_ALL=hu_HU.UTF-8 date
2018. jan.  1., hétfő, 21:25:35 CET
          ^^

The official orthography rules doesn't contain an explicit rule about this (which already gives no sane reason for double space), and an implicit example of "1848. március 9." under bullet point 296 at http://helyesiras.mta.hu/helyesiras/default/akh12 contains a single space only. It's sure not convincing on an HTML page, but I confirm that the official book edition (e.g. https://www.libri.hu/en/konyv/a-magyar-helyesiras-szabalyai-32.html) also contains a single space there.

Please apply the attached trivial fix, thanks!
Comment 1 Sourceware Commits 2018-01-12 00:59:07 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  f172187b2d5bd9d22a5311b3ecd89d4ce5dbd2da (commit)
      from  c8924f1ff22cb78abc9bb950c3b23d8483ac7bba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f172187b2d5bd9d22a5311b3ecd89d4ce5dbd2da

commit f172187b2d5bd9d22a5311b3ecd89d4ce5dbd2da
Author: Egmont Koblinger <egmont@gmail.com>
Date:   Mon Jan 1 20:40:11 2018 +0000

    hu_HU locale: Avoid double space (bug 22657).
    
    The current date format prefixes one-digit days with a space, resulting
    in ugly two spaces:
    
    $ LC_ALL=hu_HU.UTF-8 date
    2018. jan.  1., hétfő, 21:25:35 CET
              ^^
    
    The official orthography rules doesn't contain an explicit rule about
    this (which already gives no sane reason for double space), and an
    implicit example of "1848. március 9." under bullet point 296 at
    http://helyesiras.mta.hu/helyesiras/default/akh12 contains a single
    space only. It's sure not convincing on an HTML page, but I confirm
    that the official book edition (e.g.
    https://www.libri.hu/en/konyv/a-magyar-helyesiras-szabalyai-32.html)
    also contains a single space there.
    
    	[BZ #22657]
    	* localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
    	before the day number which may produce a double space.
    	(date_fmt): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    8 ++++++++
 localedata/locales/hu_HU |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
Comment 2 Rafal Luzynski 2018-01-12 01:05:40 UTC
Thank you, Egmont.  It has been committed.
Comment 3 Sourceware Commits 2018-01-18 00:47:08 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  80647883cf5847c8b6b0197e9703eb04222496b6 (commit)
       via  e234d7cb9adf50ec98dc58405f4c5a90546ba018 (commit)
      from  48b66019ae06db6c9b9e4ed2da31d919cd663ea9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=80647883cf5847c8b6b0197e9703eb04222496b6

commit 80647883cf5847c8b6b0197e9703eb04222496b6
Author: Rafal Luzynski <digitalfreak@lingonborough.com>
Date:   Thu Jan 18 01:40:15 2018 +0100

    ChangeLog: Fix an entry for [BZ #22657]
    
    Remove myself, give the full credit to Egmont Koblinger.
    
    When committing someone else's changes, one should put the contributor's
    name in the change log entry.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e234d7cb9adf50ec98dc58405f4c5a90546ba018

commit e234d7cb9adf50ec98dc58405f4c5a90546ba018
Author: Rafal Luzynski <digitalfreak@lingonborough.com>
Date:   Thu Jan 18 01:27:10 2018 +0100

    locales bho_NP, mai_IN, mai_NP: Fix an obvious typo in date.
    
    	* localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
    	in date: "2017-24-07" should be "2017-07-24".
    	* localedata/locales/mai_IN: Likewise.
    	* localedata/locales/mai_NP: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |   10 ++++++++--
 localedata/locales/bho_NP |    2 +-
 localedata/locales/mai_IN |    2 +-
 localedata/locales/mai_NP |    2 +-
 4 files changed, 11 insertions(+), 5 deletions(-)