Panel download history time is wrong

Viewing 10 posts - 1 through 10 (of 10 total)
#128597

Thiago Porcel
Participant

Why the time in the download history for the subscriber is wrong with 3 hours more (universal time), and the WP panel is correct in my local time and configured in the WP (-3)

For example in the WP Download history (May 18, 2020 12:54 am) this is correct, local time and configured in WP.

For the subscriber, the control panel shows the wrong time (May 18, 2020 03:54 am), and it is the same download.

what can i do to resolve this? How to show the correct time that is configured in the WP?

#128603

Nayeem Riddhi
Moderator

Hello,

Please, give your temporary wp-admin login details in a private reply for checking and for adjusting.

Thanks.

#128648

Thiago Porcel
Participant
This reply has been marked as private.
#128743

Nayeem Riddhi
Moderator

Hello,

Sorry for some having patience. BTW, your problem has been solved now,

I have changed the code from download-manager\admin\tpls\stats\history.php in line number 25 with this code, <td><?php echo wp_date(get_option('date_format')." H:i",$stat->timestamp, null); ?></td>

Now it is working fine from your side. and for reCaptcha use the V2 version. let me know, if there need further assistance.

Thanks.

#128749

Thiago Porcel
Participant

ok, but when you update the plugin, it will be deleted and will I have to do it again?

about recaptcha, i’m using version 2, but it still doesn’t work at all.
thanks for your help!

#128750

Thiago Porcel
Participant

Hello, unfortunately the command did not resolve, see below.

TESTE 01 20 de maio de 2020 01:38 (historic subscriber panel) *wrong!

TESTE 01 | 19 de maio de 2020 22:38 (download history on the WP panel) Correct!

I await your help and thank you!

#128962

Thiago Porcel
Participant
This reply has been marked as private.
#128963

Thiago Porcel
Participant

Sorted out.

In the file wp-contentpluginsdownload-managertplsuser-dashboard> download-history.php, line 22, replace with the code:
<td> <? php echo wp_date (get_option (‘date_format’). “H: i”, $ stat-> timestamp, null); ?> </td>

and in the file wp-contentpluginsdownload-managertplsuser-dashboard> profile.php, line 157, replace with the code:
<td> <? php echo wp_date (get_option (‘date_format’). “H: i”, $ stat-> timestamp, null); ?> </td>

With that, the time is the same as the WordPress platform. I think this needs to be fixed in the next update, thanks!

#128980

Nayeem Riddhi
Moderator

Yes, For adjusting both options. you have to update both scripts.

#129013

Thiago Porcel
Participant

thanks!

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Panel download history time is wrong’ is closed to new replies.