Plugin Elementor: How to equip the datepicker with german date?

First you need to download and install the plugin „Elementor Datepicker Localization“ from https://github.com/creame/elementor-datepicker-localization and then add the following code to functions.php.

// Beispiel, Umstellung auf 'de' Sprache
add_filter( 'elementor/datepicker/locale', function(){ return 'de'; } );

// Beispiel, ändern Sie das Datumsformat in j F, Y
add_filter( 'elementor/datepicker/format', function(){ return 'j F, Y'; } );

// Beispiel, verwenden Sie das 24-Stunden-Format für die Zeiteingabe
add_filter( 'elementor/datepicker/24h', '__return_true' );
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.