certificate-granted-node date format

Christinelle
Forums
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

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

 

Christinelle

certificate-granted-node date format [SOLVED]

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