i have only 1 rule – preventing past dates – but even switching this on or off produces the same error
even changing the setting to “date only” – i still get the same error
changing the date format – same error
why is it telling me the date format is incorrect when clearly it is ?!!
please fix this asap
]]>When using post-edit widget, with ACF that has:
flexible-field>> Field-Group>> date picker and time picker
NOT working
Browser display error:
?
_acf-field-time-picker.js:23 Uncaught
TypeError: Cannot read properties of null (reading ‘selectText’)
at Child.initialize (_acf-field-time-picker.js:23:47)
at Child.initialize (_acf-model.js:79:9)
at acf.Model (_acf-model.js:91:15)
at Child as constructor
at Child as constructor
at new Child (_acf-model.js:30:19)
at acf.newField (_acf-field.js:428:15)
at acf.getField (_acf-fields.js:155:16)
at HTMLDivElement. (_acf-fields.js:185:20)
at Function.each (jquery.js?ver=3.7.1:383:19)
I am having an unusual issue with the date time picker custom field on my website. On some content types, the standard date time picker displays and functions completely normally (see here) but on other content types, on the same website, a different date time picker displays (see here) which does not respect the formatting requirements specified by the custom field, always resulting in an error.
I don’t understand why there would be a different date time picker that would only appear for one content type but not another. Furthermore, it seems as though when I disable WPBakery, this issue goes away, but unfortunately I need WPBakery in order to make my website operate appropriately.
Any assistance I can get to get the one, appropriate date time picker operational everywhere on my website would be very much appreciated.
Thank you,
Chris
]]>I used your module in my WP site a long time. Probably 3-4 years. I used for reservation form with needed fields for our hotel. But now we need to show prices on date time picker selection. How can I do it ? could you help me ?
regards
]]>I use date and time picker for event start/end. Then I use Elementor dynamic tags to display it. But I need to have two headings with different CSS format for day and for month.
My idea is to use save_post hook, separate these two figures picked in date/time picker and save them to another custom fields “day” and “month” as format e.g. “1” and “JAN”.
I tried code below (for month), but it is not working
add_action('save_post', 'separateEventStartDate', 10, 2);
function separateEventStartDate($post_id)
{
// if date/time is not picked, return
if (empty(get_post_meta($post_id, 'event_start', true))) {
return;
} else
// load picked date and time to variable
$eventStart = $_POST['pods_meta_event_start'];
// change format to abbreviated month e.g. "JAN"
$eventStartMonth = date("M", strtotime($eventStart));
// save month to custom field
update_post_meta($post_id, 'month', $eventStartMonth);
}
What am I asking:
1) Is it possible to make it this way?
2) What is the default format how PODS save date and time from picker. Is it object, array, string?
3) Do I use correct functions to get/save meta fields?
4) Is there a way to display (console, admin page) variable value to check it?
Thank you for any ideas!
]]>I have installed latest version 2.2.0
My wordpress site has the following settings
language: Deutsch (German)
Timezone: Berlin (UTC+0100)
Timeformat: j. F Y
BR – Jochen Klein
]]>