Home Forums Bug Reports [important] date picker date is saved minus 1 day Reply To: [important] date picker date is saved minus 1 day

  • Stumbled upon this report after a couple of hours struggling, can confirm the same issue with WP 6.01 / ACF 5.12.3

    I’m using ACF with a calendar PHP script and I need to use
    in one of my functions.

    This results literally in a datepicker value that, when retrieved from that function
    get_field (‘my_date’, $post_id); //format Y-m-d
    // * * * output: 2022-07-06`

    while if edited in the original post field or even in the database record is:
    // * * * output: 2022-07-07

    EDIT: as per this other thread, it looks like a WordPress core issue