Sorry, we don't support your browser.  Install a modern browser

Additional date format#574

?

Wondering if you guys could add

<option value="d/m">15/07 (d/m)</option>
underneath

<option value="d.m">15.07 (d.m)</option>
in
wp-content/plugins/wpdatatables/templates/admin/settings/tabs/main_plugin_settings.php

This date format with a / is standard in some countries, like Australia

a year ago
?

Ideally add a ‘custom’ date text box in the date format selection options.

You can achieve what you want with the following kludge

add_filter ( ‘wpdatatables_before_save_settings’, ‘wpdatatables_before_save_settings’, 10, 1);
function wpdatatables_before_save_settings ( $POST ) $POST[‘wdtDateFormat’] = ‘d/m’;
return $POST;
}

This will overwrite the settings when you save them to use the date format you want. But there should be a custom date format option on the settings page.

8 months ago