public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale
@ 2011-03-14 14:21 b3virq3b at gmail dot com
  2011-03-14 14:21 ` [Bug localedata/12582] " b3virq3b at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: b3virq3b at gmail dot com @ 2011-03-14 14:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12582

           Summary: Incorrect date and time formats in en_SG locale
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: b3virq3b@gmail.com


Downstream report at https://bugs.launchpad.net/bugs/699886

Currently under English (Singapore) locale date_fmt is formatted like this:
Friday 07,January,2011 11:44:44 PM SGT

The commas are weird and are not the convention in Singapore. The attached
patch changes that and other related formats to better values:

t_fmt_ampm from "%I:%M:%S %p %Z" to "%I:%M:%S %p" (removed time zone; redundant
because Singapore spans only one time zone)
t_fmt from "%I:%M:%S  %Z" to "%T" (changed to 24h time)
d_t_fmt from "%A %d,%B,%Y %I:%M:%S  %Z" to "%a %d %b %Y %r" (removed awkward
commas, use abbreviated month names)
d_fmt from "%A %d,%B,%Y" to "%d/%m/%Y"

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/12582] Incorrect date and time formats in en_SG locale
  2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
@ 2011-03-14 14:21 ` b3virq3b at gmail dot com
  2011-05-09 16:52 ` drepper.fsp at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: b3virq3b at gmail dot com @ 2011-03-14 14:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12582

--- Comment #1 from KH Teo <b3virq3b at gmail dot com> 2011-03-14 14:21:40 UTC ---
Created attachment 5305
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5305
Patch to en_SG

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/12582] Incorrect date and time formats in en_SG locale
  2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
  2011-03-14 14:21 ` [Bug localedata/12582] " b3virq3b at gmail dot com
@ 2011-05-09 16:52 ` drepper.fsp at gmail dot com
  2011-05-13 16:09 ` b3virq3b at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-09 16:52 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12582

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-09 16:51:50 UTC ---
Where is the reference for the change?  And don't reference other bug report
systems, all the information must be entered here.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/12582] Incorrect date and time formats in en_SG locale
  2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
  2011-03-14 14:21 ` [Bug localedata/12582] " b3virq3b at gmail dot com
  2011-05-09 16:52 ` drepper.fsp at gmail dot com
@ 2011-05-13 16:09 ` b3virq3b at gmail dot com
  2011-05-14 23:49 ` drepper.fsp at gmail dot com
  2014-06-27 13:45 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: b3virq3b at gmail dot com @ 2011-05-13 16:09 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12582

--- Comment #3 from KH Teo <b3virq3b at gmail dot com> 2011-05-13 16:08:35 UTC ---
(In reply to comment #2)
> Where is the reference for the change? 

I'm not able to find a national standard for this, and in fact actual formats
used vary from site to site:

Government websites : http://www.gov.sg/ http://www.nlb.gov.sg/
Local newspapers: http://www.straitstimes.com/ http://www.todayonline.com/

However, my point is that the current format where the day/month/year are
delimited by commas does not reflect actual local usage. The formats I picked
in the patch are similar to those used in en_GB (due to Singapore's historical
links with the UK as a former colony.)

> And don't reference other bug report
> systems, all the information must be entered here.

Okay, but all information is presented here already.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/12582] Incorrect date and time formats in en_SG locale
  2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
                   ` (2 preceding siblings ...)
  2011-05-13 16:09 ` b3virq3b at gmail dot com
@ 2011-05-14 23:49 ` drepper.fsp at gmail dot com
  2014-06-27 13:45 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-14 23:49 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12582

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-14 23:48:58 UTC ---
I looked around myself and found nothing resembling the current format.  The
patch is applied.  Next time provide a patch with a complete file name.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug localedata/12582] Incorrect date and time formats in en_SG locale
  2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
                   ` (3 preceding siblings ...)
  2011-05-14 23:49 ` drepper.fsp at gmail dot com
@ 2014-06-27 13:45 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:45 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12582

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-27 13:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 14:21 [Bug localedata/12582] New: Incorrect date and time formats in en_SG locale b3virq3b at gmail dot com
2011-03-14 14:21 ` [Bug localedata/12582] " b3virq3b at gmail dot com
2011-05-09 16:52 ` drepper.fsp at gmail dot com
2011-05-13 16:09 ` b3virq3b at gmail dot com
2011-05-14 23:49 ` drepper.fsp at gmail dot com
2014-06-27 13:45 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).