Search code examples
wordpressdatepickerjquery-ui-datepickerpodscms

How to change date and time format in Pods Framework's Date and TimePicker Components?


I was fighting with timepicker's default settings. The default settings were overridden somehow. Then, I noticed that they were actually overridden by Pods Framework's code:

var pods_form_ui_pods_field_baslangic_tarihi_args = {"timeFormat":"h:mmtt","dateFormat":"mm\/dd\/yy","ampm":true};

I would like to change the default settings of date and time formatting. How can I do that?


Solution

  • I found the answer.

    You need to got to the Edit Pod page and enter the date/time field and go to "Additional Field Options":