Page 1 of 1

Timestamp of Logging data

Posted: 03 Nov 2020, 04:06
by Shigeto
Hi,

I use PhocaDownload 3.2.0 and Joomla 3.9.22.
Phoca Download Configuration > General > Enable Logging > if 'Yes', logging data is recorded into database.
But this timestamp is UTC.

My site is;
Global Configuration > Server > Website Time Zone > 'Asia/Tokyo',
I hope logging data that displayed would be refer to website time zone.

Best regards

Re: Timestamp of Logging data

Posted: 04 Nov 2020, 23:46
by Jan
Hi, try to open this file:

administrator/components/com_phocadownload/views/phocadownloadlogs/tmpl/default.php

and on line cca 113 change FROM:

Code: Select all

echo $r->td($this->escape($item->date));
TO:

Code: Select all

echo $r->td($this->escape(JFactory::getDate($item->date)));
and let me know if this is OK.

Jan

Re: Timestamp of Logging data

Posted: 05 Nov 2020, 17:51
by Shigeto
Hi, Jan.

I tried your suggestion, but nothing occurred.
Timestamp had no change.

Best Regards,