rzl_b Posted February 7, 2021 Share Posted February 7, 2021 Site URL: http://www.family1stent.co.uk Hi there, Is there any way I am able to change the date format on the booking format to be dd/mm/yy? Password for site:SundayTemp1 Thank you in advance, Ry Link to comment
jpeter Posted February 8, 2021 Share Posted February 8, 2021 You can add the javascript code below to the page using Per Page Code Injection. Javascript (function(){ if (document.readyState == 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } function init() { var dayField = document.querySelector('.date .day'); dayField.parentNode.insertBefore(dayField, dayField.previousElementSibling); } })(); Make sure you add the code between <script> tags, e.g. <script> // JS code goes here </script> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment