Meta Box
Support Forum
Support › General › Saving Dates In Another FormatResolved
Hi,
this from your DOCS
array( 'js_options' => array( 'dateFormat' => 'dd-mm-yy', ), 'save_format' => 'Y-m-d', ),
doesn't work. The date is display in format "Y-m-d".
PHP (5.4), Metabox (4.16.3)
Hi Hazmi,
I've just tested the code and it works. As you can see in this screenshot, the date appearing in the input is 20-02-2019, but its value in the custom field is 2019-02-20:
20-02-2019
2019-02-20
https://imgur.com/a/JBe6Qdk
Can you please try again?
now it is working.. Thanks for your time.