@ rkvisit
Sorry, but this can not be easily changed because the PHP function date_create()
which is used when creating a data object to be saved to the database only supports US date format. The function that could be used to support multiple formats requires PHP 5.3 or newer but since WordPress required 5.2, I can not use it and be compatible.
If you’d like to try to change it the data format in the javascript can be changed here:
https://github.com/Connections-Business-Directory/Connections/blob/8.5.1/assets/js/cn-admin.js#L346
See this doc page on the jQuery UI Date Picker for instruction on what option to set to change the data format:
https://api.jqueryui.com/datepicker/#option-dateFormat
Make sure you update the minified version of the file after you make the changes.
You will also need to change the PHP which saves the date:
https://github.com/Connections-Business-Directory/Connections/blob/8.5.1/includes/entry/class.entry-data.php#L3342
You should be able to use this PHP function:
https://php.net/manual/en/datetime.createfromformat.php
Hope that helps and have fun! Let me know how it goes.