Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix get_post_time is adding dropping a day on the front end.

Discussion in 'Misc WordPress Requests' started by keyinora, Nov 10, 2017.

  1. keyinora

    Guest

    get_post_time is adding dropping a day on the front end., by keyinora

    Hello,

    I’m noticing weird behavior for the built in method of get_post_time, where on the first post on the site i linked, it is showing the day -1 from it’s publish date in the backend.

    the other post are fine.

    I also tested this on one of my newer sites (which i pull all data from the REST API) i’ve noticed, that it does the above to all the post.

    https://www.markwestonhair.com/blog-collection

    Please advice!

    get_post_time is adding dropping a day on the front end.
     
    #1

Share This Page

Web Hosting