Return start and end date when attempting to split time spans
This commit is contained in:
parent
bd775bec45
commit
eb14615917
|
@ -257,7 +257,7 @@ final class NodaTimeSplitter {
|
|||
if (($newTimeName = $moda->toTimeName()) !== "") {
|
||||
$output .= "&zeit_name_neu={$newTimeName}";
|
||||
}
|
||||
$output .= '&zeit_beginn_neu=' . $moda->start_year . '&zeit_ende_neu=' . $moda->end_year . '&zeit_zaehlzeit_vorzeichen_neu=' . urlencode($moda->counting_time_indicator->toString()) . '&zeit_zaehlzeit_jahr_neu=' . $zaehlzeit_jahr . '&zeit_zaehlzeit_monat_neu=' . $moda->counting_time_month . '&zeit_zaehlzeit_tag_neu=' . $moda->counting_time_day . '&zeit_status_neu=%2B" class="icons iconsBell buttonLike" id="splitTimeLink">+';
|
||||
$output .= '&zeit_beginn_neu=' . $moda->start_year . '&zeit_ende_neu=' . $moda->end_year . '&zeit_zaehlzeit_vorzeichen_neu=' . urlencode($moda->counting_time_indicator->toString()) . '&zeit_zaehlzeit_jahr_neu=' . $zaehlzeit_jahr . '&zeit_zaehlzeit_monat_neu=' . $moda->counting_time_month . '&zeit_zaehlzeit_tag_neu=' . $moda->counting_time_day . '&zeit_status_neu=%2B&zeit_beginn_datum_neu=' . $moda->start_date . '&zeit_ende_datum_neu=' . $moda->end_date . '" class="icons iconsBell buttonLike" id="splitTimeLink">+';
|
||||
|
||||
if (!empty($newTimeName)) {
|
||||
$output .= $newTimeName;
|
||||
|
@ -1195,6 +1195,8 @@ final class NodaTimeSplitter {
|
|||
"end_name" => $end_name,
|
||||
"start_year" => $start->start_year,
|
||||
"end_year" => $end->end_year,
|
||||
"start_date" => $start->start_date,
|
||||
"end_date" => $end->end_date,
|
||||
"counting_time_year" => $middle_year,
|
||||
"counting_time_month" => $middle_month,
|
||||
"counting_time_day" => $middle_day,
|
||||
|
|
Loading…
Reference in New Issue
Block a user