Wrong date format in field (date)

Support MB Group Wrong date format in field (date)Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38287
    HazmiHazmi
    Participant

    Hi,

    when i save date in "datetime" field in a clonable group (maybe this is a general problem?) in custom format, then date in DB is with wrong format.

    array(
    'name' => __('UPDATE'),
    'id' => $prefix . 'product_update',
    'type' => 'datetime',
    'size' => 20,
    'js_options' => ['dateFormat' => 'dd. mm. yy'],
    'save_format' => 'Y-m-d-H-i'
    )

    then date vaĆŻue in DB is in format "01. 09. 2022 11:32"

    #38303
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    The datetime subfield in a group will be saved value in the standard format (raw) to the database. It does not look working with the setting save_format. I will inform the development team to consider supporting this case in future updates.

    #42653
    wgstjfwgstjf
    Participant

    Has there been any progress on this issue? Just come unstuck at this end because of it, nearly a year later.

    Thanks,

    Will

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.