Forum Replies Created
-
AuthorPosts
-
mjinchoeParticipant
For anyone else with this issue, google changed the app settings which override the share settings in the google calendar section. I discovered that the drop down for share calendar in the regular google calendar area had been greyed out. The option we had previously selected for showing “all information” was changed to showing busy only and would not allow us to select the option to show all information. After several hours of digging as there are multiple google consoles and dashboards that control google calendars, I found they changed the way they control the calendar sharing options under the google app admin dashboard. The settings in this dashboard override/control the settings in the regular calendar dashboard (huh? come on google dev…). Weird thing is after changing it the app admin and seeing that it now works, it still shows the option greyed out in the regular calendar share area. Go figure. Anyway, here is a nifty article on how to fix:
https://support.google.com/a/answer/60765?hl=enmjinchoeParticipantOk, it is officially fixed with your code on github. Everyone, Brian from Modern Tribe / Event Calendar rocks!
mjinchoeParticipantWait hold the presses! Your code did fix it (I think … still testing). Just realized I updated our custom theme and not the WP 2011 theme we changed it to for the debugging.
mjinchoeParticipantIf WordPress for some reason is not pulling the timezone in the WP database, can we just hardcode it into the snippet you made? I know this is not optimal as a fix for everyone but perhaps worth a try.
mjinchoeParticipantThanks for your attention to this. The new code did not throw an error but the time unfortunately is still incorrect. After some more digging, I don’t think this is a event calendar bug. Yes, the rss time is still wrong so I need to find a fix but I just noticed that the publication time on the main WordPress feed is also wrong. All the times are off by 7 hours earlier. I checked the server timezone and it is set to America/Chicago so that can’t be it. The timezone setting in WordPress is set to Los Angeles. I am at a loss. Unfortunately, it makes using the Event Calendar a problem. If the time offset issue is not solvable, maybe there is a another way to show just the date with no time in the RSS feed in the description or something. I can have Mailchimp not use the pubDate but would like to have the event date somehow included with the posting. THoughts?
mjinchoeParticipantI updated WP timezone setting to Los Angeles and it had no effect.
mjinchoeParticipantIn using the snippet from https://tri.be/support/forums/topic/rss-feed-time-showing-incorrectly/ , I get the following error when it gets to the <pubDate> of the first event in the feed (this is WP’s default 2011 theme and get same error our EarlyTouch theme):
<pubDate><br />
<b>Fatal error</b>: Uncaught exception ‘Exception’ with message ‘DateTimeZone::__construct(): Unknown or bad timezone ()’ in /home3/nswblog/public_html/test/wp-content/themes/twentyeleven/functions.php:626
Stack trace:
#0 /home3/nswblog/public_html/test/wp-content/themes/twentyeleven/functions.php(626): DateTimeZone->__construct(”)
#1 [internal function]: events_rss2_gmt_pubdate_correction(‘2014-10-01 00:0…’, ‘Y-m-d H:i:s’, true)
#2 /home3/nswblog/public_html/test/wp-includes/plugin.php(192): call_user_func_array(‘events_rss2_gmt…’, Array)
#3 /home3/nswblog/public_html/test/wp-includes/general-template.php(1880): apply_filters(‘get_post_time’, ‘2000-08-22 07:0…’, ‘Y-m-d H:i:s’, true)
#4 /home3/nswblog/public_html/test/wp-includes/feed-rss2.php(75): get_post_time(‘Y-m-d H:i:s’, true)
#5 /home3/nswblog/public_html/test/wp-includes/template.php(501): require_once(‘/home3/nswblog/…’)
#6 /home3/nswblog/public_html/test/wp-includes/functions.php(1127): load_template(‘/home3/nswblog/…’)
#7 [internal function]: do_feed_rss2(f in <b>/home3/nswblog/public_html/test/wp-content/themes/twentyeleven/functions.php</b> on line <b>626</b><br />mjinchoeParticipantI am trying to use the event rss feed to create an automated event update email in Mailchimp. The times show correctly on the site but when using the rss feed in say Firefox or via mailchimp it shows a different time. Seems like it is not being adjusted for the wordpress timezone settings.
Event with correct time on website at 9:00am: http://nswparents.net/event_debug/event_website.jpg
RSS Feed in firefox shows same event as 2:00am: http://nswparents.net/event_debug/eventfeed_firefox.jpg
RSS Feed pulled into Mailchimp shows same event as 5:00am: http://nswparents.net/event_debug/eventfeed_mailchimp.jpg
I will send a separate post re: the snippet.
mjinchoeParticipantThis reply is private.
mjinchoeParticipantThis reply is private.
mjinchoeParticipantThis reply is private.
mjinchoeParticipantThe times on the website and in the WP event admin are correct but the time showing in the <pubDate> of the RSS feed does not show the adjustment for timezone. It shows the event date as the publication date which is great and the right time of 09:00:00 but the time is not adjusted for time zone. The first event for “Gymnastics” has a <pubDate>Fri, 26 Sep 2014 09:00:00 +0000</pubDate> which makes it show as 2:00am on the feed. I double checked the timezone setting in the WP admin and it is set to UTC-7.
The site is password protected but the feed is not. I will private reply with the event feed url. I tried switching the theme with no change but I cannot deactivate other plugins until later today after a client review of various updates.
mjinchoeParticipantbtw, our test version we are working on which uses the latest version of the event calendar is at the subdomain “test” at our url.
mjinchoeParticipantI am having similar problem with my rss feed and event times (working on a test version of site so I can send url if you like). When I put the filter code from https://tri.be/support/forums/topic/rss-feed-time-showing-incorrectly/ into my functions file, the rss dies when it gets to the first event’s time indicating some sort of error with the filter code or code conflict. The rss shows <pubDate>Fri, 26 Sep 2014 09:00:00 +0000</pubDate> but it displays as 2:00AM.
-
AuthorPosts