PageSourceSearch

https://iruki.es/wp-content/cache/min/1/wp-content/plugins/cool-fo…/assets/js/date-format.js?ver=1790846387

js iruki.es collected 2026-10-05 01:00:29 UTC 791 bytes, 2 lines download raw bytes

1(function($){const addDateFormatHandler=($element)=>{const dateFields=$element.find('input[type="date"][data-date-format]');dateFields.each((index,input)=>{const $input=$(input);const format=$input.data('date-format')||'Y-m-d';setTimeout(()=>{if(typeof flatpickr!=='undefined'){flatpickr(input,{dateFormat:format})}},100)
2if(format!=='Y-m-d'){$input.removeAttr('pattern')}})};const convertFormatToPattern=(format)=>{let pattern=format;pattern=pattern.replace(/Y/,'[0-9]{4}');pattern=pattern.replace(/m/,'[0-9]{2}');pattern=pattern.replace(/d/,'[0-9]{2}');pattern=pattern.replace(/-/g,'-');pattern=pattern.replace(/\//g,'\\/');return pattern};$(window).on('elementor/frontend/init',()=>{elementorFrontend.hooks.addAction('frontend/element_ready/form.default',addDateFormatHandler)})})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.