Support

Account

Home Forums Bug Reports get_field() manipulates time value?

Unread

get_field() manipulates time value?

  • Hi there,

    I am using the date-time-picker field and I stumbled over a weird bug. At least I think it is a bug.

    Storing a time value in the wp_postmeta works without a problem. For example ‘2018-09-21 18:00:00’. However, if I var_dump() the value in the loop, it returns ‘string(16) “21.09.2018 18:09″‘
    So the time formatting is just right, but somehow it has added 9 minutes to the time value.

    I would be very glad about hints on how to fix that!

    Cheers! Jakob

Viewing 1 post (of 1 total)

The topic ‘get_field() manipulates time value?’ is closed to new replies.