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/18666] New: Add support for '%OY' in strftime(), currently only "%Oy" is supported


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

            Bug ID: 18666
           Summary: Add support for '%OY' in strftime(), currently only
                    "%Oy" is supported
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: sandeep.shedmake at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 8435
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8435&action=edit
screenshot showing '%OY' instead of 4 digit year with evolution-3.16.3-2.fc22
for or_IN locale

Description of problem:
Add support for '%OY' in strftime(). Currently it doesn't support "%OY", only
"%Oy" is supported and thus 4-digit year is not possible.

Version-Release number of selected component (if applicable):
glibc-2.21-5.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. $ LANG=or_IN.utf8
2. $ date +%Om-%Od-%OY

Actual results:
à-àà-%OY (4 digit year not supported)

Expected results:
à-àà-%OY (4 digit year should be supported: à-àà-àààà)

Additional info:
$ LANG=or_IN.utf8 date +%Om-%Od-%Oy
à-àà-àà

-- 
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]