Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 811 forks source link

Wrong time stamp shown when listing topics/messages in trashbin #9685

Closed c-schmitz closed 6 months ago

c-schmitz commented 6 months ago

Summary of Changes

When listing messages or topics in trashbin, it would show bogus timestamps because the UNIX timestamp was not converted properly.

Testing Instructions

Delete message to trashbin, Check out the original creation time, compare with time shown in trashbin. Before this patch it was different, the message in the trashbin would show a timestamp on the same day, but a different time. After applying the patch it shows correctly.

Ruud68 commented 6 months ago

Tested and works okay, good catch @c-schmitz !

c-schmitz commented 6 months ago

Yeah. I tried to trace some deleted spam messages and was wondering about the timestamps not matching the web logs. :-)