Hi all,
My current version is 1.5.11.
I am trying to change my date format from 29.10.2025 to 29. okt 2025 (in Danish). Is there any easy way of doing this? I found a reply from Pitma in here: Custom PDF template issue - #3 by simxware
However, cannot revive that thread. Anyone know where I can put that piece of code he mentions for the invoiceplane.php? Here’s the code:
<th><span>Date</span></th>
<?php
$monthEng = array('January', 'February', 'March');
$monthDeu = array('Januar', 'Februar', 'März');
$date = date_from_mysql($invoice->invoice_date_created, TRUE);
$date = str_ireplace($monthEng, $monthDeu, $date);
?>
<td><span><?php echo $date ?></span></td>