Support » Plugin: Sucuri Security - Auditing, Malware Scanner and Security Hardening » bug: SucuriScan::datetime() method result incorrect

  • Resolved nlpro

    (@nlpro)


    I have “Amsterdam” selected as TimeZone value in WordPress (UTC+2).

    When I go to the Sucuri Security->Settings menu option and then click on the “Scan” tab there are no local times listed in the “Next Due” column of the “Scheduled Tasks” section. Strangely the SucuriScan::humanTime() method result (which is displayed in brackets behind the “date time”) is correct…

    As an example, it displays: 16-05-2018 18:07 (in 7 minutes)
    While my local time (at the time the request is made) is 16-05-2018 20:00

    Would it be possible to correct the SucuriScan::datetime() static method in such a way that it returns local times.

    Thanks in advance 😉

    • This topic was modified 1 year, 9 months ago by nlpro.
    • This topic was modified 1 year, 9 months ago by nlpro.
  • The topic ‘bug: SucuriScan::datetime() method result incorrect’ is closed to new replies.