im unteren teil des codes habe ich einen punkt in rot hinzugefügt und das komma markiert, was zuviel ist.
Code:
// If months are the same, return January 6-7, 2005. If not, return January 6 - February 7, 2005, if same year.
if ( (($start_daynumber == $end_daynumber) && ($start_month == $end_month) && ($start_year == $end_year)) || $no_end_specified ) {
$returnstring = $start_daynumber . ' ' . $start_month . ', ' . $start_year;
$returnstring .= ( $EXTCAL_CONFIG['show_times'] ) ? ' (' . $start_time . ( ($EXTCAL_CONFIG['show_times'] == 3 || $no_end_specified) ? '' : ' - ' . $end_time ) . ')' : '';
} else if (($start_month == $end_month) && ($start_year == $end_year)) {
if ( $EXTCAL_CONFIG['show_times'] ) {
$returnstring = $start_daynumber . ' ' . $start_month . ' (' . $start_time . ') - ' . $end_daynumber . ' ' . $end_month . ( ($EXTCAL_CONFIG['show_times'] == 3 || $no_end_specified) ? '' : ' (' . $end_time . ')' ) . ', ' . $start_year;
} else {
$returnstring = $start_daynumber . '. ' . $start_month . ' - ' . $end_daynumber . ', ' . $start_yea...............
Lesezeichen