| Summary: | Add custom strftime() format for dateformat | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Barton Chittenden <barton> |
| Component: | Architecture, internals, and plumbing | Assignee: | Galen Charlton <gmcharlt> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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