EVENT ON LINE Missing time zone.

#44811
  • Resolved Antonio Gallucci
    Rank Math free

    Hi guys!
    great work with your plugin.Everything working really fine, but due to Cornavirus i had to use for the first time the event on line Schema, that it’s pretty cool and accurate with all the info i needed and more.
    WWe got only a problem in search console and i was trouble shooting everyhting this morning before ask for help.
    The Start Date and End Date are not complete, they miss the time zone and i checked out it’s perfectly set up on server and wordpress installation. Maybe you missed the markup on the date picker.
    Hope you can fix it ASAP.
    Best and keep doing your amazing job!
    Antonio

    • This topic was modified 4 years ago by Antonio Gallucci. Reason: added code from search console
Viewing 8 replies - 1 through 8 (of 8 total)
  • Antonio Gallucci
    Rank Math free

    Hello,

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

    Thank you.

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have just raised this issue with our dev team and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    We were able to reproduce the error and have logged it. Please allow us some time to test and release a fix.

    It should be added to the plugin in a few week’s time. For now to fix the issue on your site, please add following filter code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_event_entity', function( $entity ) {
    	if ( empty( $entity['startDate'] ) ) {
    		return $entity;
    	}
    
    	$entity['startDate'] = date_i18n( 'Y-m-d H:i-T', strtotime( $entity['startDate'] ) );
    	return $entity;
    });
    
    

    I hope that helps. If you need any other assistance, please feel free to let us know.
    We are here to help.

    Thank you.

    Antonio Gallucci
    Rank Math free

    Thanks it worked perfectly!Is it going in the next update?
    Just to know when i need to turn off this additional function.

    Alberto
    Rank Math business

    Hello,

    Yes, it should be in a few weeks’ updates, you can see the changes we implement on each update here: https://rankmath.com/changelog/

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Antonio Gallucci
    Rank Math free

    Thanks!

    Michael Davis
    Rank Math pro

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    Thank you for your patience. We sincerely appreciate that.

    We have released a Beta update that should fix the issue. Please follow these steps to update to the latest version and have the issue fixed:
    https://i.rankmath.com/TP6Xjk
    0. Take a complete backup of your site
    1. Go to Rank Math > Status & Tools > Version Control
    2. Enable the Beta Tester Option from Beta Opt-in Box
    4. Go to the Dashboard > Updates and update Rank Math to the latest beta version

    Hope that helps. If there’s anything, please let us know. We are here to assist.

    Take care!

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

The ticket ‘EVENT ON LINE Missing time zone.’ is closed to new replies.