You are not logged in.
Pages: 1
According to the guide, I set up notifications.
https://glpi-user-documentation.readthedocs.io/fr/latest/modules/configuration/notifications/template_example.html
##FOREACHtimelineitems##
##timelineitems.author## - ##timelineitems.date##
##timelineitems.description##
##ENDFOREACHtimelineitems##
But, ##timelineitems.date## has the format YYYY-MM-DD in the notification.
Please tell me how to change it to MM-DD-YYYY?
Last edited by sIBajHYG (2024-04-24 16:36:35)
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
I did a few quick tests. The date format used in the notification email of a ticket seems to be the date format from the personal settings of the user making the change to the ticket.
Offline
I did a few quick tests. The date format used in the notification email of a ticket seems to be the date format from the personal settings of the user making the change to the ticket.
Doesn't match, unfortunately.
Also in the screenshot in the first post there is a New Ticket and a New Followup on it made on behalf of the same user... The date is upside down.
Last edited by sIBajHYG (2024-04-23 23:10:07)
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
Which version of GLPI are you testing this on?
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
A fix was made in GLPI 10.0.7 regarding the date/time format of timeline items in notifications.
https://github.com/glpi-project/glpi/pull/14225
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
A fix was made in GLPI 10.0.7 regarding the date/time format of timeline items in notifications.
https://github.com/glpi-project/glpi/pull/14225
Thanks a lot - it worked.
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
Pages: 1