This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/16141] New: strptime %z offset restriction


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

            Bug ID: 16141
           Summary: strptime %z offset restriction
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: f22raptorf22 at gmail dot com
                CC: drepper.fsp at gmail dot com

In time/strptime_l.c:

if (val > 1200)
    return NULL;


Per these resources:
http://www.timeanddate.com/time/map/
http://en.wikipedia.org/wiki/Line_Islands

Kiribati is among the select few that are part of the world's farthest forward
time zone, UTC+14:00.

strptime currently restricts the numeric part of the offset to 1200.


I propose this restriction be raised to a minimum of 1400, or even allow up to
an offset of a full day (2400) for future compatibility.

Thanks.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]