{"id":1269189,"date":"2017-04-12T15:35:58","date_gmt":"2017-04-12T22:35:58","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/"},"modified":"2017-04-14T19:26:18","modified_gmt":"2017-04-15T02:26:18","slug":"calendar-widget-displaying-current-time-6hours-on-first-item","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/","title":{"rendered":"Calendar widget displaying current time + 6hours on first item"},"content":{"rendered":"<p>Please please help&#8230;<\/p>\n<p>The Calendar widget displaying on our home page is displaying current time + 6hours on first item only. So time keeps changing and is not displaying correct, fixed time. It&#8217;s the weirdest thing&#8230;.<\/p>\n<p>If I delete the event, the rest of the events appear fine.<\/p>\n<p>The site is fairly new &#8211; but this is the first time we&#8217;ve seen this. I don&#8217;t mind paying for support &#8211; I REALLY REALLY need to fins a solution asap.<\/p>\n<p>It&#8217;s not a plugin conflict. It&#8217;s not a theme conflict, etc&#8230;.<\/p>\n<p>TEC is pretty customized on this site&#8230; I suspect it has to do with customizations to single-event.php which I included below.<\/p>\n<p>\/************<\/p>\n<p>&lt;div class=&#8221;list-date&#8221;&gt;<br \/>\n&lt;?php<br \/>\nif (<br \/>\nisset( $instance[&#8216;tribe_is_list_widget&#8217;] )<br \/>\n&amp;&amp; date( &#8216;m&#8217;, $post_date ) != date( &#8216;m&#8217;, current_time( &#8216;timestamp&#8217; ) )<br \/>\n) :<br \/>\n?&gt;<br \/>\n&lt;span class=&#8221;list-dayname&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;F&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;?php echo apply_filters( &#8216;tribe-mini_helper_tribe_events_ajax_list_daynumber&#8217;,<br \/>\ndate_i18n( &#8216;d&#8217;, $post_date ), $post_date, $mini_cal_event_atts[&#8216;class&#8217;] ); ?&gt;<br \/>\n&lt;\/span&gt;<\/p>\n<p>&lt;span class=&#8221;list-dayweek&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;l&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;\/span&gt;<\/p>\n<p>&lt;span class=&#8221;list-daytime&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;g:i a&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;\/span&gt;<\/p>\n<p>&lt;?php else: ?&gt;<br \/>\n&lt;span class=&#8221;list-dayname&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;M j&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;\/span&gt;<br \/>\n&lt;span class=&#8221;list-dayweek&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;l&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;\/span&gt;<\/p>\n<p>&lt;span class=&#8221;list-daytime&#8221;&gt;<br \/>\n&lt;?php<br \/>\necho apply_filters(<br \/>\n&#8216;tribe-mini_helper_tribe_events_ajax_list_dayname&#8217;,<br \/>\ndate_i18n( &#8216;g:i a&#8217;, $post_date ),<br \/>\n$post_date,<br \/>\n$mini_cal_event_atts[&#8216;class&#8217;]<br \/>\n);<br \/>\n?&gt;<br \/>\n&lt;\/span&gt;<\/p>\n<p>&lt;?php endif; ?&gt;<\/p>\n<p>&lt;\/div&gt;<br \/>\n************\/<\/p>\n","protected":false},"template":"","class_list":["post-1269189","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Calendar widget displaying current time + 6hours on first item -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Calendar widget displaying current time + 6hours on first item -\" \/>\n<meta property=\"og:description\" content=\"Please please help&#8230; The Calendar widget displaying on our home page is displaying current time + 6hours on first item only. So time keeps changing and is not displaying correct, fixed time. It&#8217;s the weirdest thing&#8230;. If I delete the event, the rest of the events appear fine. The site is fairly new &#8211; but [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-15T02:26:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/\",\"name\":\"Calendar widget displaying current time + 6hours on first item -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-04-12T22:35:58+00:00\",\"dateModified\":\"2017-04-15T02:26:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Calendar widget displaying current time + 6hours on first item\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Calendar widget displaying current time + 6hours on first item -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/","og_locale":"en_US","og_type":"article","og_title":"Calendar widget displaying current time + 6hours on first item -","og_description":"Please please help&#8230; The Calendar widget displaying on our home page is displaying current time + 6hours on first item only. So time keeps changing and is not displaying correct, fixed time. It&#8217;s the weirdest thing&#8230;. If I delete the event, the rest of the events appear fine. The site is fairly new &#8211; but [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/","article_modified_time":"2017-04-15T02:26:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/","name":"Calendar widget displaying current time + 6hours on first item -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-04-12T22:35:58+00:00","dateModified":"2017-04-15T02:26:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-widget-displaying-current-time-6hours-on-first-item\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Calendar widget displaying current time + 6hours on first item"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1269189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1269189\/revisions"}],"predecessor-version":[{"id":1270344,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1269189\/revisions\/1270344"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1269189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}