Hi,
I can't find how to modify the date format of the node:certificate-granted-node token in my certificate.
The result is 09/Feb/2017 whereas I would like to have 09/02/2017...
Any idea ?
Many thanks for help !
James Aparicio
Thu, 02/09/2017 - 17:48
Hi Christinelle,
Hi Christinelle,
In the opigno_certificate_app.module the token is defined. You can change it there. But its better if change with a custom module and implement a hook_tokens_alter. This way you dont have to create a patch to apply each time you update the distribution.
Many thanks James !
As creating a custom module goes beyond my competence I have just change "d/M/Y" by "d/m/Y" in the opigno_certificate_app.module file
Best regards
Hi Christinelle,
Hi Christinelle,
In the opigno_certificate_app.module the token is defined. You can change it there. But its better if change with a custom module and implement a hook_tokens_alter. This way you dont have to create a patch to apply each time you update the distribution.
Best regards
In reply to Hi Christinelle, by James Aparicio
certificate-granted-node date format [SOLVED]