Well .. this is a problem because the month names in dutch stored in lowercase letter.
To solve this, we must make a little bit bigger changes for ALL languages.
First step: In ALL PortaMx.language.php find
// Birthday, Holiday, Event date format chars: M = Month (Jan - Dec), m = Month (01 - 12), d = Day (01 - 31), j = Day (1 - 31)
$txt['pmx_minical_dateform'] = array(
'M d', // single date
'M d', // start-date same month
' - d', // end-date same month
'M d', // start-date not same month
' - M d' // end-date not same month
);
Replace with (or put a % before the letter):
// Birthday, Holiday, Event date format chars: %M = Month (Jan - Dec), %m = Month (01 - 12), %d = Day (01 - 31), %j = Day (1 - 31)
$txt['pmx_minical_dateform'] = array(
'%M %d', // single date
'%M %d', // start-date same month
' - %d', // end-date same month
'%M %d', // start-date not same month
' - %M %d' // end-date not same month
);
Second: find in /Sources/PortaMx/Class/mini_calendar.php
// Birthday, Holiday, Event date format
function caldateform($dat1, $dat2 = '')
{
global $txt;
list($d1['year'], $d1['month'], $d1['day']) = explode('-', $dat1);
if(empty($dat2))
return str_replace(array('M', 'm', 'd', 'j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][0]);
else
{
list($d2['year'], $d2['month'], $d2['day']) = explode('-', $dat2);
if($d1['month'] == $d2['month'])
{
$tmp = str_replace(array('M', 'm', 'd', 'j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][1]);
return $tmp . str_replace(array('M', 'm', 'd', 'j'), array($txt['months_short'][intval($d2['month'])], $d2['month'], $d2['day'], intval($d2['day'])), $txt['pmx_minical_dateform'][2]);
}
else
{
$tmp = str_replace(array('M', 'm', 'd', 'j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][3]);
return $tmp . str_replace(array('M', 'm', 'd', 'j'), array($txt['months_short'][intval($d2['month'])], $d2['month'], $d2['day'], intval($d2['day'])), $txt['pmx_minical_dateform'][4]);
}
}
}
Replace with:
// Birthday, Holiday, Event date format
function caldateform($dat1, $dat2 = '')
{
global $txt;
list($d1['year'], $d1['month'], $d1['day']) = explode('-', $dat1);
if(empty($dat2))
return str_replace(array('%M', '%m', '%d', '%j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][0]);
else
{
list($d2['year'], $d2['month'], $d2['day']) = explode('-', $dat2);
if($d1['month'] == $d2['month'])
{
$tmp = str_replace(array('%M', '%m', '%d', '%j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][1]);
return $tmp . str_replace(array('%M', '%m', '%d', '%j'), array($txt['months_short'][intval($d2['month'])], $d2['month'], $d2['day'], intval($d2['day'])), $txt['pmx_minical_dateform'][2]);
}
else
{
$tmp = str_replace(array('%M', '%m', '%d', '%j'), array($txt['months_short'][intval($d1['month'])], $d1['month'], $d1['day'], intval($d1['day'])), $txt['pmx_minical_dateform'][3]);
return $tmp . str_replace(array('%M', '%m', '%d', '%j'), array($txt['months_short'][intval($d2['month'])], $d2['month'], $d2['day'], intval($d2['day'])), $txt['pmx_minical_dateform'][4]);
}
}
}