Change date format in Elementor forms

/*Add this to custom code*/

<script>
  jQuery(document).ready(function($) {
    setTimeout(function() {
      $('.elementor-date-field.flatpickr-input').each(function() {
        flatpickr($(this)[0]).set('dateFormat', 'j F Y'); 
      });
    }, 1000);
  });
</script>