Change the time zone
-
Hi,
I’ve embedded an event but the hour is different. The event starts on 7:30 pm and the plugin shows it starts on 4pm.
I guess I need to define the time zone. I looked for it in settings but couldn’t find.
Is it possible?
Thanks,
Udi
-
The event time timezone is the same that the one set in Settings/General inside admin if that does not work change this option.
Hi Miguel,
Thanks for your answer.
I have good news and bad news ??The good news is that indeed my time settings weren’t correctly set. I changed it to the correct time zone. which it UTC+3 (Israel).
I was so happy until…
so here’s the bad news, the time is still not accurate. The event starts on 7:30pm and the plugin shows that the event starts on 7:00pm.Any ideas?
Thanks again,
UdiIt could be that your server has an incorrect time, you can see that also no general settings. Did you try changing the option I told you on the last thread? If everything fails you can still do a trick creating a template for the event embed first follow this instructions then on the event.php file on your theme replace
$start_time = $start_time + get_option('gmt_offset') * 3600;
for this
$start_time = $start_time + get_option('gmt_offset') * 3600 + HOUR_IN_SECONDS / 2;
I’m having the same problem, event times are about an hour off. I’m playing with the WordPress time zone settings to get the event time to show the correct time, but it doesn’t seem to recognize half-hour increments.
For example, my first event is at 9:30am, but the plugin is displaying 9:00am. My time zone is set to UTC-7:30. If I move it to UTC-7, no change in what the plugin shows. But if I move it to UTC-6:30, the plugin then displays 10:00am. I have the plugin set to “Show events on local time”. Any ideas?
In the above example I’m referring to the event on 9/13 on this homepage: https://www.divinetours.ca/
Thanks,
AmyDear Miguel,
First off CONGRATULATIONS for your wonderful, classy and straightforward plugin which looks brilliant even in its free version which we have currently installed!
Indeed we have EXACTLY the same problem with udioz and winterglow above. The time zone is waaaay off!
At the time of writing this, our WP “General Settings” indicate:
**GMT time is 2015-09-13 10:46:00 Local time is 2015-09-13 13:46:00 ** (a 3 hour diff)
Basis these, although our FB event shows start time @ 13:30 the embed shows as start time @ 09:00 (a 4 1/2 hour diff).
You can see this here: https://www.eqnomics.org/el/uncategorized/eqtraining/We were just ready to buy the premium version of this plugin but WE NEED to make sure that everything works dandy before we do and as you realise start and end times are very important!
(there is another issue with an empty line in the embed titled “Creator:” but this is not as pressing and perhaps material for a different thread:))As we are not experienced coders and not particularly eager to mess with theme folders, so could you please advise and/or perform a complete and inclusive resolution to this! The premium version shall be purchased straight after that (hell, even if we do not use it as the free one is goood:))
Many thanks in advance!
Eagerly awaiting!!!Forgot to mention that the “use local time” option in the wp-embed-facebook setting is already set to “show events on local time”.
Again thank you for your prioritising this!
Dear everyone on this thread,
5 days have passed since my original question and follow-up on your identical to ours issues, and it seems that Mr. Sirvent is too busy to acknowledge our problem.
For those of you that still require the events time to be exact, facebook has a FREE solution of its own!
What you do is SHARE you event on your page’s wall so that it is now considered a post.
You then follow these directions from FB on how to embed this new post.
You can find them here: https://developers.facebook.com/docs/plugins/embedded-postsTo summarize, all you need to do is:
? Include this ONCE on top of page
<script>// <![CDATA[
window.fbAsyncInit = function() { FB.init({ xfbml : true, version : ‘v2.3’ }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = “//connect.facebook.net/en_US/sdk.js”; fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’));
// ]]></script>Include this for every DIFFERENT event embed:
<div class=”fb-post” data-href=”xxxxxxxxxxxx” data-width=”640″></div>
where “xxxxxxx” is the link to the shared event post.
Hope this could help you and be safe!
Hi, first of all sorry for the late replay.
I am working on the new version and this problem with others will be fixed very soon, a lot of things have changed on the new version and everything needs to be very well tested.
For your last post you can use the facebook social plugin code to embed any post or event, but if you have the plugin installed you can omit the first part, it is already included on the plugin in the fb.js file so you can just paste the second part on your post and it should work.
Please update to the new version, this issue has been solved, also events with cover are no longer part of the premium extension they are now included on the core.
I hope you find the time to test and rate this plugin.
Hi Miguel,
I appreciate your effort but the plugin is still not showing the right time zone.
My event is on 7:30pm and it shows 4:30pm even though I set all the right attributes. The time zone of my blog in general/settings and the checkbox that says “Show events on local time” in the plugin settings.
It is really a great plugin but unfortunately I cannot really use it.
Any ideas?
Thanks,
UdiHi udioz.
If you unselect the “Show events on local time” it will use the timezone string of the event to get the time, it should be the same time as seen of facebook.
Can you send me the event link please.
- The topic ‘Change the time zone’ is closed to new replies.