Text to go in the release notes:
|
This enhancement adds an easier way to format dates in notices, and minimise potential errors - strftime. It can be used for both date and date time fields, and is locale friendly.
Examples:
- Date field: [% borrower.dateexpiry.strftime('%d-%m-%y') %]
- Date and time field: [% borrower.lastseen.strftime("%d-%m-%y %H:%M") %]
- Locale: [% borrower.dateexpiry.strftime("%d %B %Y", "nl_NL") %]
|