In IPA-EPN, as an admin I want to be able to format the expiration template variable coming from FreeIPA LDAP attribute krbpasswordexpiration in generalized UTC timestamp format.
expiration
krbpasswordexpiration
It is not possible to format expiration except some ugly use of python string split functions.
Try to format expiration in jinja template expire_msg.template.
expire_msg.template
Very limited.
Something like {{ expiration | dateformat("'%B %d, %Y'") }} should be possible.
{{ expiration | dateformat("'%B %d, %Y'") }}
$ rpm -q ipa-client ipa-client-4.12.2-22.el9_7.1.x86_64
(edit:initially added wrong PR link) I have added a PR with a suggestion at hhttps://github.com/freeipa/freeipa/pull/8201
Metadata Update from @abbra: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6913 - Issue assigned to smirta
@abbra sorry, I have added a wrong link for the PR. The right one is https://github.com/freeipa/freeipa/pull/8201
Metadata Update from @abbra: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8201 (was: https://github.com/freeipa/freeipa/pull/6913)
master:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)