Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Bug with Date Picker save format @

  • Resolved phase00

    (@phase00)


    Hi there,

    I haven’t looked in to your code, so I can’t comment at which line the error is occurring, but I just made a custom post type with a date picker that saves to the database in UNIX timestamp ‘@’.

    When I do a simple $date = get_field('date'); echo $date It is returning too many 0’s.

    For example, Wed, 22 Aug 2012 07:00:00 GMT returns 1345618800000 when saved via @ which is three too many 0’s

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Bug with Date Picker save format @’ is closed to new replies.