public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12747] New: RFE: New time zone conversion specifier character
@ 2011-05-10 17:34 myllynen at redhat dot com
  2011-05-10 20:43 ` [Bug libc/12747] " drepper.fsp at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2011-05-10 17:34 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: RFE: New time zone conversion specifier character
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: myllynen@redhat.com


Some countries [1] have recommendations that time zone should be presented for
example as UTC+2 or UTC-3. This is also the format lots of web sites are using
today (although some of them use GMT instead of UTC).

Would it be possible to add a conversion specifier character which would emit
just the offset in hours without leading/trailing zeroes when possible? In case
of half hours a flag to indicate the hour separator would be used.

For example, if the conversion specifier character would be %f then one would
get with "%f"

-7

in a time zone being UTC-7 and with "%.f" one would get

+5.30

in a time zone UTC+5:30. This would be easier to read than what is available
now with %z. In some applications the space for time zone is very limited so
this compact format would also help there (think of UTC+0200 vs UTC+2).

1) Finland is one example of such a recommendation, for reference see

http://kotoistus.fi/suositukset/vahv_kalenterit_cldr1_4.htm#Kellonajat

Thanks.

-- 
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] 11+ messages in thread

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
@ 2011-05-10 20:43 ` drepper.fsp at gmail dot com
  2012-05-18  7:29 ` myllynen at redhat dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-10 20:43 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-10 20:43:23 UTC ---
strftime specifiers are an extremely scarse resource.  Any addition can
conflict with future extensions in the standard and standard bodies often don't
pay attention to existing implementations.

You'll have to get an extension accepted by either or both of the ISO C and
POSIX bodies.

BTW: instead of wasting yet another character it might be better to use
modifiers to existing specifiers.  Look at GNU date for inspiration.

Report back when you get results from the standard bodies.

-- 
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] 11+ messages in thread

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
  2011-05-10 20:43 ` [Bug libc/12747] " drepper.fsp at gmail dot com
@ 2012-05-18  7:29 ` myllynen at redhat dot com
  2012-05-19  1:08 ` bugdal at aerifal dot cx
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2012-05-18  7:29 UTC (permalink / raw)
  To: glibc-bugs

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

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
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] 11+ messages in thread

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
  2011-05-10 20:43 ` [Bug libc/12747] " drepper.fsp at gmail dot com
  2012-05-18  7:29 ` myllynen at redhat dot com
@ 2012-05-19  1:08 ` bugdal at aerifal dot cx
  2013-06-17 14:09 ` myllynen at redhat dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugdal at aerifal dot cx @ 2012-05-19  1:08 UTC (permalink / raw)
  To: glibc-bugs

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> 2012-05-19 01:08:12 UTC ---
I tend to agree with Drepper's analysis on this one. glibc has made plenty of
mistakes in the past in this area (for example, the scanf %a fiasco) and I'd
like to see it not repeated...

-- 
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] 11+ messages in thread

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (2 preceding siblings ...)
  2012-05-19  1:08 ` bugdal at aerifal dot cx
@ 2013-06-17 14:09 ` myllynen at redhat dot com
  2013-10-09  8:15 ` neleai at seznam dot cz
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2013-06-17 14:09 UTC (permalink / raw)
  To: glibc-bugs

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

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |2.18

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


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

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (3 preceding siblings ...)
  2013-06-17 14:09 ` myllynen at redhat dot com
@ 2013-10-09  8:15 ` neleai at seznam dot cz
  2013-10-09  8:19 ` myllynen at redhat dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: neleai at seznam dot cz @ 2013-10-09  8:15 UTC (permalink / raw)
  To: glibc-bugs

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

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |neleai at seznam dot cz
         Resolution|---                         |WONTFIX

--- Comment #3 from Ondrej Bilka <neleai at seznam dot cz> ---
closing as there was no reply about using modifier/asking standard body etc.

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


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

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (4 preceding siblings ...)
  2013-10-09  8:15 ` neleai at seznam dot cz
@ 2013-10-09  8:19 ` myllynen at redhat dot com
  2013-10-09  8:20 ` myllynen at redhat dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2013-10-09  8:19 UTC (permalink / raw)
  To: glibc-bugs

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

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |---
     Ever confirmed|1                           |0

--- Comment #4 from Marko Myllynen <myllynen at redhat dot com> ---
(In reply to Ondrej Bilka from comment #3)
> closing as there was no reply about using modifier/asking standard body etc.

Actually I've just few weeks ago initiated discussion about this elsewhere:

http://lists.gnu.org/archive/html/coreutils/2013-09/msg00020.html

I'll let you know how it goes but it'll take some time.

Thanks.

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


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

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (5 preceding siblings ...)
  2013-10-09  8:19 ` myllynen at redhat dot com
@ 2013-10-09  8:20 ` myllynen at redhat dot com
  2013-10-15 14:34 ` myllynen at redhat dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2013-10-09  8:20 UTC (permalink / raw)
  To: glibc-bugs

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

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-09
     Ever confirmed|0                           |1

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


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

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (6 preceding siblings ...)
  2013-10-09  8:20 ` myllynen at redhat dot com
@ 2013-10-15 14:34 ` myllynen at redhat dot com
  2014-06-27 13:22 ` fweimer at redhat dot com
  2015-08-27 22:05 ` [Bug time/12747] " jsm28 at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: myllynen at redhat dot com @ 2013-10-15 14:34 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from Marko Myllynen <myllynen at redhat dot com> ---
I've now filed http://austingroupbugs.net/view.php?id=772, I'll report here
when something happens on that front.

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


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

* [Bug libc/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (7 preceding siblings ...)
  2013-10-15 14:34 ` myllynen at redhat dot com
@ 2014-06-27 13:22 ` fweimer at redhat dot com
  2015-08-27 22:05 ` [Bug time/12747] " jsm28 at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:22 UTC (permalink / raw)
  To: glibc-bugs

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

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] 11+ messages in thread

* [Bug time/12747] RFE: New time zone conversion specifier character
  2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
                   ` (8 preceding siblings ...)
  2014-06-27 13:22 ` fweimer at redhat dot com
@ 2015-08-27 22:05 ` jsm28 at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:05 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |time

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


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

end of thread, other threads:[~2015-08-27 22:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 17:34 [Bug libc/12747] New: RFE: New time zone conversion specifier character myllynen at redhat dot com
2011-05-10 20:43 ` [Bug libc/12747] " drepper.fsp at gmail dot com
2012-05-18  7:29 ` myllynen at redhat dot com
2012-05-19  1:08 ` bugdal at aerifal dot cx
2013-06-17 14:09 ` myllynen at redhat dot com
2013-10-09  8:15 ` neleai at seznam dot cz
2013-10-09  8:19 ` myllynen at redhat dot com
2013-10-09  8:20 ` myllynen at redhat dot com
2013-10-15 14:34 ` myllynen at redhat dot com
2014-06-27 13:22 ` fweimer at redhat dot com
2015-08-27 22:05 ` [Bug time/12747] " jsm28 at gcc dot gnu.org

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).