Closed natedawg20 closed 11 months ago
I confirm. Issue seems to be with the log items included in the timeline data. The Log::getHistoryData
method is used which already converts the date for the event to the user's preferred format. When it is displayed in the timeline, it tries to convert that a second time but it isn't in a format that is able to be understood automatically.
Code of Conduct
Is there an existing issue for this?
Version
10.0.10
Bug description
Whenever I view then exit a Ticket or Change, an "info" message pops up saying "$date is invalid".
After doing some digging, I found PHP errors saying it couldn't "parse the date string"
Here is (what I assume) the function where it parses the date string (file location in
/$webdir/glpi/src/Html.php
)I located a workaround posted here (post #7) that mentions changing the date format to "YYYY-MM-DD" suppresses those errors
Relevant log output
Page URL
https://$DOMAIN/glpi/front/ticket.php
Steps To reproduce
Your GLPI setup information
Anything else?
As identified here (post #7), changing the date format to "YYYY-MM-DD" suppressed the errors