I have a form which allows users to make posts. The form also uses custom field variable which is formed with date picker. I'm using the below code to display this date on the frontend.
<?php $key = "custom-date"; echo $display_date = date('j. F Y', strtotime(get_meta($key))); ?>
The problem I have is that strtotime is using English names of the months. Is there any way I can replace them with custom names (local)?