{"id":3008,"date":"2007-03-17T10:59:04","date_gmt":"2007-03-17T14:59:04","guid":{"rendered":"http:\/\/scruss.com\/blog\/2007\/03\/17\/more-on-wordpress-dates\/"},"modified":"2007-03-17T10:59:04","modified_gmt":"2007-03-17T14:59:04","slug":"more-on-wordpress-dates","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2007\/03\/17\/more-on-wordpress-dates\/","title":{"rendered":"more on WordPress dates"},"content":{"rendered":"<p>I got sick of the <a href=\"http:\/\/scruss.com\/blog\/2007\/01\/28\/wordpress-dates\/\">annoying date display bug<\/a>, and so dug through the default theme files looking for specific references to date formats. And there were many &#8230;<\/p>\n<p>I found that, instead of using the <a href=\"http:\/\/wordpress.org\/\">WordPress<\/a> <code>the_date()<\/code> function, there were many calls to <code>the_time('l, F jS, Y')<\/code>, which forces a specific date format. If you replace instances of <code>the_time('l, F jS, Y')<\/code> with <code>the_date()<\/code>, your date and time format set in the Options panel will work as expected.<\/p>\n<p>How hard was that? Not very. How easy would it be to be modified in the default template?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got sick of the annoying date display bug, and so dug through the default theme files looking for specific references to date formats. And there were many &#8230; I found that, instead of using the WordPress the_date() function, there were many calls to the_time(&#8216;l, F jS, Y&#8217;), which forces a specific date format. If [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[175,182,183,185,62,184,49],"class_list":["post-3008","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-date","tag-default_theme","tag-kubrik","tag-options","tag-rant","tag-time","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-Mw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/3008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=3008"}],"version-history":[{"count":0,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/3008\/revisions"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=3008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=3008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=3008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}