{"id":167965,"date":"2014-05-20T13:34:52","date_gmt":"2014-05-20T20:34:52","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/"},"modified":"2014-09-04T19:44:32","modified_gmt":"2014-09-05T02:44:32","slug":"plugin-widget-dates-are-unaffected-by-wp-date-format","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/","title":{"rendered":"Plugin widget dates are unaffected by WP date format"},"content":{"rendered":"<p>This is all Greek to me, but I&#8217;m copying and pasting what Jesse Petersen told me to put here: &#8220;Plugin widget dates are unaffected by WP date format AND customizing the date format in the plugin file&#8221; Also, the date-picker\/field for the events is in US format and can&#8217;t be altered, even when WP is in EU format.<\/p>\n<p>He sent me an e-mail that said &#8220;If I could, I&#8217;d change the widget portion, but it appears to run off something different than the system date format. This is another ticket item and I&#8217;d send them a shot or link to the sidebar.<\/p>\n<p>When I changed the date manually in the entry fields for the 23 May event, it kicked it out thinking it was the 23rd month and now the next event is 26 Jun (or rather Jun 26). There is no indication in any of the files that I&#8217;ve located that anything uses something other than the system date or the date I set manually in the config file.&#8221;<\/p>\n<p>if(!class_exists(&#8216;TribeDateUtils&#8217;)) {<br \/>\n\tclass TribeDateUtils {<br \/>\n\t\t\/\/ default formats, they are overridden by WP options or by arguments to date methods<br \/>\n\t\tconst DATEONLYFORMAT = &#8216;j F, Y&#8217;;<br \/>\n\t\tconst TIMEFORMAT = &#8216;g:i A&#8217;;<br \/>\n\t\tconst HOURFORMAT\t = &#8216;g&#8217;;<br \/>\n\t\tconst MINUTEFORMAT = &#8216;i&#8217;;<br \/>\n\t\tconst MERIDIANFORMAT = &#8216;A&#8217;;<br \/>\n\t\tconst DBDATEFORMAT = &#8216;Y-m-d&#8217;;<br \/>\n\t\tconst DBDATETIMEFORMAT = &#8216;Y-m-d H:i:s&#8217;;<br \/>\n\t\tconst DBTIMEFORMAT = &#8216;H:i:s&#8217;;<br \/>\n\t\tconst DBYEARMONTHTIMEFORMAT = &#8216;Y-m&#8217;;<\/p>\n<p>Permalink to original ticket: https:\/\/theeventscalendar.com\/support\/forums\/topic\/date-needs-to-be-in-french-format\/#post-166596<\/p>\n","protected":false},"template":"","class_list":["post-167965","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>Plugin widget dates are unaffected by WP date format  -<\/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\/plugin-widget-dates-are-unaffected-by-wp-date-format\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Plugin widget dates are unaffected by WP date format  -\" \/>\n<meta property=\"og:description\" content=\"This is all Greek to me, but I&#8217;m copying and pasting what Jesse Petersen told me to put here: &#8220;Plugin widget dates are unaffected by WP date format AND customizing the date format in the plugin file&#8221; Also, the date-picker\/field for the events is in US format and can&#8217;t be altered, even when WP is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-09-05T02:44:32+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/\",\"name\":\"Plugin widget dates are unaffected by WP date format -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-05-20T20:34:52+00:00\",\"dateModified\":\"2014-09-05T02:44:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/#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\":\"Plugin widget dates are unaffected by WP date format\"}]},{\"@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":"Plugin widget dates are unaffected by WP date format  -","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\/plugin-widget-dates-are-unaffected-by-wp-date-format\/","og_locale":"en_US","og_type":"article","og_title":"Plugin widget dates are unaffected by WP date format  -","og_description":"This is all Greek to me, but I&#8217;m copying and pasting what Jesse Petersen told me to put here: &#8220;Plugin widget dates are unaffected by WP date format AND customizing the date format in the plugin file&#8221; Also, the date-picker\/field for the events is in US format and can&#8217;t be altered, even when WP is [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/","article_modified_time":"2014-09-05T02:44:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/","name":"Plugin widget dates are unaffected by WP date format -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-05-20T20:34:52+00:00","dateModified":"2014-09-05T02:44:32+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/plugin-widget-dates-are-unaffected-by-wp-date-format\/#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":"Plugin widget dates are unaffected by WP date format"}]},{"@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\/167965","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/167965\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=167965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}