[Koha-bugs] [Bug 17448] New: Add custom strftime() format for dateformat

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 17:02:02 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17448

            Bug ID: 17448
           Summary: Add custom strftime() format for dateformat
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Add a 'Custom - strftime' option dateformat and TimeFormat

dateformat
DateFormatString
Format dates using [Custom - strftime] where format string is []

See
man 3 strftime for format options

This would allow us much more flexibility in date format, e.g. if

dateformat = "custom"
DateFormatString = "%d-%b-%Y"

       %d     The day of the month as a decimal number (range 01 to 31).
       %b     The abbreviated month name according to the current locale.
       %Y     The year as a decimal number including the century.

Would display the date 2016-10-14 as

    14-Oct-2016

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list