Displaying Time Format for date mm-dd-yy
- This topic has 5 replies, 4 voices, and was last updated 2 years, 10 months ago by
Greg.
-
AuthorPosts
-
May 13, 2021 at 6:17 AM #28138
@mindspark
ParticipantHi -
I have a form that uses a Date Picker field. Under Custom Settings I used 'date' in the custom key field and then 'mm-dd-yy' (also tried 'mm/dd/yy')in the value field, but even after submitting the form the time remains in ISO format 2021-05-15. No validations are set for this field.
I've spent hours reading through other threads and none of the suggestions seem to be working for me.
I would also request that maybe we create a list of all possible keys and values for common items like changing how the date and time are displayed and make it available.
In the meantime, can someone please help?
Thanks 🙂
May 13, 2021 at 2:52 PM #28150Long Nguyen
ModeratorHi,
The setting to change the date format is
dateFormat
, can you please re-check it? Screenshot https://imgur.com/8ip8rgDGet more JS options here https://api.jqueryui.com/datepicker/
May 13, 2021 at 7:16 PM #28159@mindspark
ParticipantHi again Long -
my problem is that I was adding the date/dateFormat key in the field Custom Settings. I have never seen the Date Picker Settings option. Made the change and works perfectly now!
Suggestion - since most of the custom field options are under the Advanced Setting tab inside of MB, perhaps you might consider placing all of the fields to customize format in the same place, and maybe also update the KB on this topic to clearly show WHERE to add the format keys in the builder vs code?
June 1, 2021 at 11:00 PM #28599@lupescoto
ParticipantHello there,
I'm having the same problem, cannot change date format display,
I doubled check everything and I can't see the issue, I'm using elementor btw
Any other thing I should check?
My settings: https://www.icloud.com/iclouddrive/0qK_h_JoY3NiYkUefEvH0irFg#Captura_de_pantalla_2021-06-01_a_las_17.55
Display: https://www.icloud.com/iclouddrive/0qK_h_JoY3NiYkUefEvH0irFg#Captura_de_pantalla_2021-06-01_a_las_17.55June 2, 2021 at 3:48 PM #28623Long Nguyen
ModeratorHi Lupescoto,
It is possible that the Elementor also format the date value. Please try to use the helper shortcode in that post without using Elementor and re-check this issue.
June 10, 2022 at 9:47 AM #36414Greg
ParticipantSuggestion - since most of the custom field options are under the Advanced Setting tab inside of MB, perhaps you might consider placing all of the fields to customize format in the same place, and maybe also update the KB on this topic to clearly show WHERE to add the format keys in the builder vs code?
Yes, please.
Furthermore, the documentation for js_options points to http://api.jqueryui.com/datepicker. JQUI Datepicker does not include a time option, and so it does not include any formatting for the time. The datepicker in MB does include time, so the documentation is missing for formatting the time.
-
AuthorPosts
- You must be logged in to reply to this topic.