Time Article Pubblication Wrong

#7868
  • Resolved Luigi
    Rank Math free

    Hello,

    I have a problem with the plugin RankMath, in particular the problem concerns the time of publication of the articles, the time and time settings in wordpress have been set correctly, but in the structured data the wrong time is shown, that is two hours back .

    The problem depends on the plugin because I tried a disabled and everything works, while when I activate the plugin the wrong publishing time is reported.

    Come on can I fix?

    • This topic was modified 4 years, 10 months ago by Luigi.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Luigi
    Rank Math free

    here is the data:

    datePublished 2019-06-13T10:31:37+00:00
    dateModified 2019-06-13T10:31:37+00:00

    the correct time should be 12:31:37+02:00

    because I am in the Rome time zone…

    I also checked the server time and it’s correct and all wordpress settings are in the right time zone…

    Todd
    Rank Math free

    Hello Luigi,

    The date is correct.

    10:31:37+00:00

    is exactly the same as 12:31:37+02:00

    Where are you seeing the incorrect time being reported?

    Luigi
    Rank Math free

    the wrong date I see it through the google tool of structured data


    @type

    Article
    headline

    Bruxelles chiede all’Italia di pagare di più i docenti italiani
    description

    Che i docenti italiani siano tra i meno pagati d’europa è un fatto noto, in questi giorni però è arrivato anche un monito direttamente da Bruxelles che ha
    datePublished

    2019-06-13T10:31:37+00:00
    dateModified

    2019-06-13T10:31:37+00:00
    publisher


    @type

    Organization

    I tried to disable the plugin and the problem is solved, so I say it depends on RankMath

    Luigi
    Rank Math free

    you can also see from the page’s source code, here is the site:

    https://circuitoscuola.it

    click on a single article and then view the source code, search through the words “datePublished” and you will see that the publication time is wrong.

    the plugin is really great, but for me this is a big problem as the site will soon be included in google news and the time of publication is important.

    if I can’t solve the problem I will have to disable the plugin and leave a negative feedback

    Hi Luigi,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Luigi
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thanks for the follow up.

    It looks like you forgot to share the site URL on the sensitive data section.

    I am looking forward to helping you. Thank you.

    Luigi
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thanks for the access.

    I have been able to replicate this issue when the post is published under a timezone with daylight saving time. This has been submitted to our dev team and we will be getting back to you in a short while.

    We appreciate your patience. Thank you.

    Luigi
    Rank Math free

    ok thanks very much.

    will I always receive an answer here on the forum?

    Todd
    Rank Math free

    Hello Luigi,

    Sorry, but as I mentioned, the time is exactly the same. We use the GMT zone so the time is the same when converted to +2:00.

    Are you facing any issue because of it?

    Luigi
    Rank Math free

    Hi Todd,

    I don’t think it’s the same thing, there is a time zone because every country has its own time.

    If I publish an article at 8:00 am in Italy it actually turns out that the article was published at 6:00 am precisely because the plugin does not calculate the Italian time zone which has a difference of two hours.

    When the plugin is deactivated the publication time becomes correct and also in the structured data the +2:00 appears.

    The site will soon go into google news and it is very important that the time is correct.

    I hope I was clear…

    Luigi
    Rank Math free

    I manage 8 websites and all have the correct publication date and the time zone +2:00, if you say it’s the same thing, how come all sites have the correct time?
    so what’s the wordpress time zone setting used for?

    Todd
    Rank Math free

    Hi Luigi,

    Please check the time printed carefully.

    If you use +2:00 hours, the time printed is going to be:
    07:44:00+02:00

    If you use the GMT (like we do with Rank Math), the time printed is going to be:
    05:44:00+00:00

    When you convert the time, it is going to be exactly the same.

    Here’s the proof:
    gmt to italian time

    If you would still like to change the time zone, you can do so using a filter:

    https://rankmath.com/kb/filters-hooks-api-developer/#extend-json-ld-data

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

The ticket ‘Time Article Pubblication Wrong’ is closed to new replies.