• Hello,

    I found that the Date field (calendar picker) saves an incorrect date in the database. It’s not a matter of timezone incoherence as the inconsistencies go into decades – not hours or days. I’m using UTC everywhere – both server and PHP.

    So, e.g. this is a timezone saved:

    http://prntscr.com/a2vzfn

    This is its raw (milliseconds) representation in the db: “917827200”

    And its front-end display after parsing:

    http://prntscr.com/a2w007

    As you can, see the inconsistency amount to something around 3 decades.

    Something is definitely wrong. Any idea what this might be?

    https://wordpress.org/plugins/types/

Viewing 1 replies (of 1 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    I can not reproduce this problem with Types.

    Please proceed with the basic debug steps of using Types only, and a WordPress default theme.

    If then the error persists, please describe step by step how you create and display the field.
    (Including PHP Code if you do not use the Views Plugin)

    If you can not solve this problem by above steps and eventually reserving the Field and Posts, I will need access to your system and that’s only possible via our Free Types Forum over at Toolset:
    https://wp-types.com/support/register/
    https://wp-types.com/forums/

    Please let me know how it goes.

Viewing 1 replies (of 1 total)

The topic ‘Date field saves incorrect date’ is closed to new replies.