Page 1 of 1

HESK 3.1.0 - Date Display Problem

Posted: Sat May 02, 2020 3:58 am
by geoslang
Script URL: ?
Version of script: HESK 3.1.0
Hosting company: GoDaddy
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: Dates, Date View, Date Display, Client View Date

Write your message below:

Sorry - don't know how to supply all of the stats above.

The problem that I'm noticing is from the customer view, when viewing a ticket comment, the date is showing "4 months ago" when it was actually just made. The problem seems to be how the browser interprets the date format. In this case, the ticket comment was made on May 1st, 2020 (today's date), but HESK says "4 months ago" because when hovering over the date, the format is 01-05-20.

When viewing from the admin side it displays correctly - "18 minutes ago"

P.S. - I LOVE this application. Totally changed how we run our home owner's association. Thank you!

Re: HESK 3.1.0 - Date Display Problem

Posted: Sat May 02, 2020 7:10 am
by Klemen
Yes, that's a known issue; it has been fixed in version 3.1.1 which should be released in the following days. Please check back in a day or two.

Re: HESK 3.1.0 - Date Display Problem

Posted: Sat May 02, 2020 7:16 am
by Klemen
P.s.: to fix it immediately, simply delete this code

Code: Select all

$reply['dt'] = hesk_date($reply['dt'], true);
from file theme/hesk3/customer/view-ticket/view-ticket.php then test.