Meta Box
Support Forum
Support › Meta Box Builder › Setting dateFormat messes up picker widgetResolved
1 https://www.dropbox.com/s/9ehg35kpvol3rj5/1%20Settings.png?dl=0 2 https://www.dropbox.com/s/rgzmjpgpeyioe4o/2%20Picker.png?dl=0 3 https://www.dropbox.com/s/sxeflg94ep2z7e4/3%20Save%20-%20refresh%20page.png?dl=0 4 https://www.dropbox.com/s/ecsks2anpm0iqbg/4%20Open%20picker%20after%20save.png?dl=0
UI is very broken. Even if dateFormat is just set to M d, Y it still breaks similarly.
dateFormat
M d, Y
Hi,
Thanks for your feedback.
The time format of the field datetime does not look to work properly. I've escalated this issue to the development team to fix it in the next update.
datetime
Hi Greg,
After taking a deep digger about this case, I think it's not an issue of the field datetime. The format to display the date should follow the JS format, which you can see here https://api.jqueryui.com/datepicker/#utility-formatDate It does not work like the PHP format https://www.php.net/manual/en/datetime.format.php
The datetime picker includes date and time. https://api.jqueryui.com/datepicker/#utility-formatDate does not include any formatting for time, therefore it cannot be the correct instructions to follow.
Please follow this documentation to use the time format https://trentrichardson.com/examples/timepicker/
Let me know how it goes.
I really wish you folks would try your instructions before posting them here. You make this even more frustrating by providing "answers" that doesn't work. https://www.dropbox.com/s/feku4in94hpfctb/Settings%20again.png?dl=0 https://www.dropbox.com/s/dst7knki9n8mbuv/Picker%20again.png?dl=0 https://www.dropbox.com/s/4qqcy4qz8o28nzb/Open%20picker%20after%20save%20again.png?dl=0 https://www.dropbox.com/s/f0cqlsuoi24yisd/Output.png?dl=0